method
restore_attributes
v8.0.0 -
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.