Method: ActiveRecord::AttributeMethods::Dirty#saved_changes?
- Defined in:
- lib/active_record/attribute_methods/dirty.rb
#saved_changes? ⇒ Boolean
Did the last call to save
have any changes to change?
113 114 115 |
# File 'lib/active_record/attribute_methods/dirty.rb', line 113 def saved_changes? mutations_before_last_save.any_changes? end |