module ActiveModel::Dirty

def restore_attribute!(attr)

Handles restore_*! for +method_missing+.
def restore_attribute!(attr)
  if attribute_changed?(attr)
    __send__("#{attr}=", changed_attributes[attr])
    clear_attribute_changes([attr])
  end
end