reset_changes()
Removes all dirty data: current changes and previous changes
# File activemodel/lib/active_model/dirty.rb, line 174 def reset_changes @previously_changed = ActiveSupport::HashWithIndifferentAccess.new @changed_attributes = ActiveSupport::HashWithIndifferentAccess.new end