Displaying 1 result from an estimated 1 matches for "referral_note_pages".
2006 Feb 08
0
foreign table references...a new twist
...o: placement
table placements
has_many: referral_notes
def list_rfn
@placement = Placement.find(:all) # possibly unnecessary
@referral_note = ReferralNote.find(:all,
:include => [:placement],
:conditions => ["placement_id = ?", params[:placement_id] ])
@referral_note_pages, @referral_notes = paginate(
:referral_notes,
:include => [:placement],
:conditions => ["placement_id = ?", params[:placement_id] ],
:per_page => 14)
end
list view (possible multiple records). The main object is the
''placement_id'' (the...