Displaying 1 result from an estimated 1 matches for "henster".
Did you mean:
fenster
2006 Mar 29
3
Self-referential many-many joins with :through
...I''ve included my models below, feel free to ignore them. I''m really
just after an example that works. I couldnt find one on the wiki...
which is fair enough considering Ricks patch:
http://dev.rubyonrails.org/changeset/4022 that fixed them only went
through 5 days ago..
Cheers
-henster
***********************************************************************************
class Topic < ActiveRecord::Base
has_many :item_collection, :class_name => "Grouping", :foreign_key
=> "item_id"
has_many :group_collection, :class_name => "Grouping&quo...