<p>Have you ever noticed that when you assign a property to an Active Record model
and read it back, the value isn’t always the same? Here’s an example:</p>

<pre><code class="ruby">class StoreListing &lt; ActiveRecord::Base
connection.create_table :store_listings, force: true do…</code></pre>

Read more at the source