I am trying to create a Active Record tableless Model. My user.rb looks like this
class User < ActiveRecord::Base class_inheritable_accessor :columns
Few things:
Firstly you are using the Rails2 approach outlined in Railscast 193 when really you should be using the Rails 3 approach, outlined in Railscast 219
You probably don't want to inherit from ActiveRecord::Base when doing this sort of thing.
Read Yehuda Katz's blog post on this.