[skip ci] Update `numericality` validation docs

Add `:other_than` option documentation.
This commit is contained in:
Arkadiusz Fal 2016-03-28 12:20:02 +02:00
parent 59bf226890
commit ee640a1f75
1 changed files with 2 additions and 0 deletions

View File

@ -505,6 +505,8 @@ constraints to acceptable values:
* `:less_than_or_equal_to` - Specifies the value must be less than or equal to
the supplied value. The default error message for this option is _"must be
less than or equal to %{count}"_.
* `:other_than` - Specifies the value must be other than the supplied value.
The default error message for this option is _"must be other than %{count}"_.
* `:odd` - Specifies the value must be an odd number if set to true. The
default error message for this option is _"must be odd"_.
* `:even` - Specifies the value must be an even number if set to true. The