Displaying 1 result from an estimated 1 matches for "referralnote".
Did you mean:
referral_note
2006 Feb 08
0
foreign table references...a new twist
I thought I was on top of them all, but found another one that has me
completely stumped.
table referral_notes
belongs_to: 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...