restore_attribute!(attr)
Handles restore_*! for method_missing.
# File activemodel/lib/active_model/dirty.rb, line 251 def restore_attribute!(attr) if attribute_changed?(attr) __send__("#{attr}=", changed_attributes[attr]) clear_attribute_changes([attr]) end end