title: Transform DateTime into simple Date in Ruby on Rails
body: <p>I have a datetime column in db that I want to transform into a simple date when I show it to users.</p>
  
  <p>How can I do that?</p>
  
  <pre>
  def shown_date
    # to_date does not exist, but is what I am looking for
    self.date || self.exif_date_time_original.to_date 
  end
  </pre>