Method: ActiveRecord::AttributeMethods::Dirty#saved_changes
- Defined in:
- lib/active_record/attribute_methods/dirty.rb
#saved_changes ⇒ Object
Returns a hash containing all the changes that were just saved.
118 119 120 |
# File 'lib/active_record/attribute_methods/dirty.rb', line 118 def saved_changes mutations_before_last_save.changes end |