Method: ActiveModel::Dirty#clear_attribute_changes

Defined in:
activemodel/lib/active_model/dirty.rb

#clear_attribute_changes(attr_names) ⇒ Object



331
332
333
334
335
# File 'activemodel/lib/active_model/dirty.rb', line 331

def clear_attribute_changes(attr_names)
  attr_names.each do |attr_name|
    clear_attribute_change(attr_name)
  end
end