2009/11/13 Newb Newb <[email protected]>: > > Sijo k g wrote: >> Hi >> >> Just an example here >> >> records=Model.find :all, :conditions=>["created_on < ? ",2.days.ago] >> >> >> Sijo > > pls if i want to get file how i supposed to do
What do you mean by 'get file'? The above code does what you asked, finding all records older than two days. Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

