title: How do I sort by subcategories of time using the updated_at tag?
body: <p><code>@todo = Todo.where(done:true,user:current_user.email).where("updated_at &gt;= ?", Time.zone.now.beginning_of_day)</code></p>
  
  <p>So this is an example of a call I'm making. Now how can I sort by subcategories of time? Eg. Grab all the entries from six days ago, all the entries from five days ago, and perhaps even from every week this month? </p>