save!(*)
Attempts to save! the record and clears changed attributes if successful.
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 40 def save!(*) super.tap do @previously_changed = changes @changed_attributes.clear end end