Displaying 1 result from an estimated 1 matches for "buyer_request".
Did you mean:
buyer_requests
2006 Jul 05
2
Association Extensions
Hi,
I''m using an assocation extension as follows:
module RequestFinder
def open
find(:all, :conditions => "buyer_requests.closing_date > \''#{Date.today}\''")
end
def closed
find(:all, :conditions => "buyer_requests.closing_date <= \''#{Date.today}\''")
end
end
with the following ActiveRecord
class User < ActiveRecord::Base
has_many :my_request...