Return to Snippet

Revision: 36049
at November 17, 2010 06:44 by zackfern


Initial Code
@objects = Object_Name.where("created_at < :week", {:week => 1.week.ago})

Initial URL

                                

Initial Description

                                

Initial Title
Find ActiveRecord Object Older than One Week Old

Initial Tags
rails

Initial Language
Rails