saved_changes()
Returns a hash containing all the changes that were just saved.
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 118 def saved_changes mutations_before_last_save.changes end