method
restore_attributes
rails 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.