module ActiveModel::Validations

def raise_validation_error # :doc:

:doc:
def raise_validation_error # :doc:
  raise(ValidationError.new(self))
end