module ActiveRecord::AttributeMethods::Dirty

def changes_to_save

the next save.
Returns a hash containing all the changes that will be persisted during
def changes_to_save
  mutations_from_database.changes
end