:created_at => Range

Did you know:

ActiveRecord::Base#find does the right thing with ranges?


  Article.find(:all, :conditions => { :created_at => (2.weeks.ago..1.week.ago) })

It does exactly what you’d think it does!