module ActiveModel::Dirty

def clear_attribute_changes(attributes) # :doc:

:doc:
Remove changes information for the provided attributes.
def clear_attribute_changes(attributes) # :doc:
  attributes_changed_by_setter.except!(*attributes)
end