Displaying 1 result from an estimated 1 matches for "inserted_on".
2006 May 04
3
Date find help please.
Here''s my problem.
I have an ''Item'' model with a date column called "inserted_on" formatted as
"yyyy-mm-dd hh:mm:ss:t". I want to find all records that were inserted more
than 30 days ago. How would I say that using the Item.find ( :all .....)
method? I don''t fully understand the syntax. I tried
@result = Item.find( :all, :conditions => "insert...