Displaying 1 result from an estimated 1 matches for "explicated_study".
2006 Aug 17
1
How to sort child table on fields in the associated parent
...9;
ORDER BY p.name, f.label
Is there a way to put this into a model so that the controller and view
code might simply deal with:
@explicated_studies = ExplicatedStudy.find(:all, :condition => "type in
(''CXR'', ''CT'')" )
and:
..
<td><%= explicated_study.name %></td>
<td><%= explicated_study.label %></td>
..
acts_as_list appears to allow accessing the linked tables thru the
patients table. However, if I want a list of all studies that cuts
across all folders and patients and want to sort the list by fields in
folde...