search for: item_collection

Displaying 1 result from an estimated 1 matches for "item_collection".

Did you mean: atom_collection
2006 Mar 29
3
Self-referential many-many joins with :through
...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", :foreign_key => "group_id" has_many :groups, :through => :group_colletion has_many :items, :through => :item_collection...