Displaying 1 result from an estimated 1 matches for "patientdetail".
Did you mean:
patient_detail
2006 Jul 03
4
Display find(:include => [:children]) results in a view
...ount_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
belongs_to :patient
end
====================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060703/d5ca9173/attachment.html