Displaying 1 result from an estimated 1 matches for "fulfilled_date".
2006 Jul 01
2
Records not being returned
I have the following line of code in my controller''s action method:
@needs = Need.find(:all, :conditions => "fulfilled_date = ''null''")
This returns no records to the view, but I am expecting one record.
The following line in MySQL will return the record I expect:
Select * from needs where fulfilled_date is null;
To test the code, I substituted :conditions => "id = ''1''...