title: global methods in ruby on rails models
body: <p>I have methods in all of my models that look like this: </p>
  
  <pre><code>def formatted_start_date
    start_date ? start_date.to_s(:date) : nil
  end
  </code></pre>
  
  <p>I would like to have something that automatically writes a method like this for each datetime field in each model, what's the best way to do this?</p>
  
  <p>-C</p>