Method: ActiveRecord::AttributeMethods::Dirty#has_changes_to_save?
- Defined in:
- lib/active_record/attribute_methods/dirty.rb
#has_changes_to_save? ⇒ Boolean
Will the next call to save
have any changes to persist?
169 170 171 |
# File 'lib/active_record/attribute_methods/dirty.rb', line 169 def has_changes_to_save? mutations_from_database.any_changes? end |