title: Rails 3, comparing only the dates of two datetime columns in rails
body: <p>Lets say I want to compare the dates only of two datetime columns within 1 record. So I don't want the time looked at.</p>
  
  <p>I.e.</p>
  
  <p>viewed_date, and updated_at (I added viewed_date) are two datetime formats, but I only want to see if they occurred on the same day or days apart. The problem with datetime is that its comparing the times, which is just too specific for me right now.</p>
  
  <p>Thanks</p>
  
  <p>-Elliot</p>