Displaying 1 result from an estimated 1 matches for "foobarfoo".
2006 Apr 03
5
Is old school STI broken? How would you do the same now?
So this new STI :through thing is still not clear to me. I have a
project now where I''m using this:
class List < ActiveRecord::Base
belongs_to :user
end
class StaticList < List
has_and_belongs_to_many :items
end
In the script/console:
>> StaticList.create
NameError: uninitialized constant StaticList
What? ok, fine. So a List.create would be in