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.