Displaying 1 result from an estimated 1 matches for "doini".
Did you mean:
doing
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