#invalid?(context = nil) ⇒ Boolean

#valid?(context = nil) ⇒ Boolean

Runs all the specified validations and returns true if no errors were added
otherwise false. Context can optionally be supplied to define which
callbacks to test against (the context is defined on the validations using
:on).

Standard configuration options (:on, :if and :unless), which are available
on the class version of validates_with, should instead be placed on the
validates method as these are applied and tested in the callback

If you pass any additional configuration options, they will be passed to
the class and available as options, please refer to the class
version of this method for more information