search for: member_to_categori

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

Did you mean: member_to_categories
2006 May 12
2
Has many through join table issues
...ith lots of members). I''m using a join table between members and categories to build the associations between members and the category. class MemberToCategory < ActiveRecord::Base belongs_to :members belongs_to :categories end class MemberType < ActiveRecord::Base has_many :member_to_categories has_many :members, :through => :member_to_categories class Member < ActiveRecord::Base has_many :member_to_categories has_many :member_types, :through => :member_to_categories My problem is two-fold. 1. When the visitor selects a top level category, I need to pull all members o...