search for: patient_details

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

2006 Jul 03
4
Display find(:include => [:children]) results in a view
I am trying to determine how to display a list returned from a Rails find(:include => [:children]). I am using the following (which works in the console): @patients = Account.find(session[:account_id]).patients.find(:all, :include => [:patient_details]) How can I address the patient_details to display 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 :patie...