title: Rails - Get old value in before_save
body: <p>I'm trying to get the old value in the <code>before_save</code> by adding "_was" to my value but it doesn't seem to work.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>before_save :get_old_title
  
  def get_old_title
      puts "old value #{self.title_was} =&gt;  #{self.title}"
    end
  </code></pre>
  
  <p>Both "title_was" and "title" got the new title just been saved.</p>
  
  <p>Is it possible to get the old value inside <code>before_save</code> ?</p>