method
changed_from?
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::Attribute
changed_from?(old_value)public
No documentation available.
# File activerecord/lib/active_record/attribute.rb, line 49
def changed_from?(old_value)
type.changed?(old_value, value, value_before_type_cast)
end