search for: enrollment_product

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

Did you mean: enrollment_products
2006 Mar 31
3
Complex Through Statement
...ould look like: class Employee < ActiveRecord::Base has_many :enrollment_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/.