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