title: How to update model attribute from Model?
body: <p>I have a method to change user status inside the it's model, is it possible to use this do something like this inside the user model:</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
  
  def confirm!
    super
    self.update_column(:status =&gt; "active")
  end
  
  end
  </code></pre>
  
  <p>I saw these two examples;</p>
  
  <p><a href="https://stackoverflow.com/questions/9879883/rails-update-attribute">Rails update_attribute</a></p>
  
  <p><a href="https://stackoverflow.com/questions/19217097/how-to-update-attributes-in-self-model-rails">how to update attributes in self model rails</a></p>
  
  <p>couldn't quite get which one to go with!</p>