search for: accountpatient

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

Did you mean: account_patients
2006 Jul 03
4
Display find(:include => [:children]) results in a view
...lay them in the view? The console even shows a @patient_details instance variable being created... Any ideas? =================================== Models: class Account < ActiveRecord::Base has_many :account_patients has_many :patients, :through => :account_patients end class AccountPatient < ActiveRecord::Base belongs_to :account belongs_to :patient belongs_to :patient_detail end class Patient < ActiveRecord::Base has_many :account_patients has_many :accounts, :through => :account_patients has_many :patient_details end class PatientDetail < ActiveRecord::Base...