Displaying 1 result from an estimated 1 matches for "last_ten_upd".
2006 Jun 20
3
find ''newest'' of a model
I have a model which has the created_on and updated_on fields. I would
like to find the newest instances of my model from the database(for
instance, last 10), but as I''m only 6 weeks into my Rails development, I''m
not entirely sure how to do it. Any suggestions?
Thanks,
David