Re: Display find(:include => [:children]) results in a view

The second for loop did the trick, thanks for the help!

Date: Mon, 3 Jul 2006 21:02:29 +0200
From: Chris C. [email protected]
Subject: [Rails] Re: Display find(:include => [:children]) results in a
To: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=utf-8

Hello, You need to do something in your view that gets those details.
You probably want to use something like:
<% for patient in @patients %>
<% for detail in patient.patient_detail %>
<%= detail.description %>
<% end %>
<% end %>

Good luck with your project!

unknown wrote:

console even shows a @patient_details instance variable being

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs