Rails 4.2: datetime attribute not being saved <p>I'm using an attribute named <code>:subscription_active_untill</code> in my user table, its type is <code>datetime</code>, I'm trying to save a datetime stamp in it but it is not being saved. For example, executing current command in rails console</p> <pre><code>User.find(3).update(:subscription_active_untill =&gt; 1473363930) </code></pre> <p>it returns <code>true</code> in console but when I see the record using <code>User.find(3)</code> the <code>:subscription_active_untill</code> attribute is still <code>nill</code>. What could be the issue?</p> <p><strong>Note:</strong> I can update any other attribute of the same record without any issue, the problem is with this specific attribute.</p>