method
restore_attributes
v4.2.9 -
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.