title: Attribute not updating on update_attribute even after reload
body: <p>I'm doing the rails tutorial on :</p>
  
  <p><a href="https://www.railstutorial.org/book/account_activation_password_reset" rel="nofollow">https://www.railstutorial.org/book/account_activation_password_reset</a></p>
  
  <p>I have this piece of code that is supossed to create a reset_token and save its hash and the time it was created to the database.</p>
  
  <pre><code>def create_reset_digest
      self.reset_token = User.new_token
      update_attribute(:reset_digest,  User.digest(reset_token))
      value = update_attribute(:reset_sent_at, Time.zone.now)
      print value
  end
  </code></pre>
  
  <p>Starting debug before update_attribute on reset_sent_at:</p>
  
  <pre><code>self.reset_sent_at == 2000-01-01 12:36:53 UTC
  </code></pre>
  
  <p>After it:</p>
  
  <pre><code>self.reset_sent_at == Thu, 22 Oct 2015 12:52:47 UTC +00:00
  </code></pre>
  
  <p>But doing self.reload makes:</p>
  
  <pre><code>self.reset_sent_at == 2000-01-01 12:36:53 UTC
  </code></pre>
  
  <p>So maybe update_attribute is not saving on the db?</p>
  
  <p>But print value returns True, indicating a successful save.</p>
  
  <p>I'm not sure what is going on.</p>