search for: last_planung

Displaying 1 result from an estimated 1 matches for "last_planung".

2005 Sep 29
0
:include doesn't respect :conditions of the included model
Hi all, I have something like the following in my model(s) class Person < ActiveRecord::Base has_many :planung has_one :last_planung :class_name => "Planung", :conditions => "exist IS TRUE", :order => "date DESC" end class Planung < ActiveRecord::Base belongs_to :person end And the corresponding controller looks like class PersonController < A...