Flowdock
method

old_attribute_value

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
old_attribute_value(attr) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 118
      def old_attribute_value(attr)
        if attribute_changed?(attr)
          changed_attributes[attr]
        else
          clone_attribute_value(:_read_attribute, attr)
        end
      end
Register or log in to add new notes.