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