title: Manually set updated_at in Rails
body: <p>I'm migrating my old blog posts into my new Rails blog, and I want their <code>updated_at</code> attribute to match the corresponding value on my old blog (not the date they were migrated into my new Rails blog).</p>
  
  <p>How can I do this? When I set <code>updated_at</code> manually it gets overridden by the <code>before_save</code> callback.</p>
  
  <p><strong>Note:</strong> This question is only valid for Rails &lt; 3.2.11. Newer versions of Rails allow you to manually set timestamps without them being overwritten.</p>