title: Sorting events to show this week, month etc
body: <p>I have a list of events but I'm struggling to work out how to show specific date ranges in the index view.</p>
  
  <p>I would like to list the events by showing events today, this week, this month etc.</p>
  
  <p>I'm new to rails so I've tried to use this site and I've come up with the following which works for today's events.</p>
  
  <pre><code>@events_today = Event.find(:all, :conditions =&gt; ["date between ? and ?", Date.today, Date.tomorrow])
  </code></pre>
  
  <p>But I'm not sure how to set the page to automatically update and show only this weeks events and this month. </p>