Displaying 1 result from an estimated 1 matches for "support_products".
2006 Mar 31
3
Complex Through Statement
...nrollment_merchants, :class_name => "Merchant",
:foreign_key => :enrollment_employee_id
has_many :support_merchants, :class_name => "Merchant", :foreign_key
=> :support_employee_id
has_many :enrollment_products, :through => :enrollment_merchants
has_many :support_products, :through => :support_merchants
end
But that obviously doesn''t work. Can I make this work somehow?
--
Posted via http://www.ruby-forum.com/.