method
restore_attributes
v8.1.1 -
Show latest stable
- Class:
ActiveModel::Dirty
restore_attributes(attr_names = changed)public
Restore all previous data of the provided attributes.
restore_attributes(attr_names = changed)Restore all previous data of the provided attributes.