changes()
public
Returns a hash of changed
attributes indicating their original and new values like attr =>
[original value, new value].
person.changes
person.name = 'bob'
person.changes
# File activemodel/lib/active_model/dirty.rb, line 346
def changes
mutations_from_database.changes
end