[Documentation] Add a missing validation to I18n docs

The guide was missing a description of the error message
interpolation for validates_numericality_of with
the :only_integer option.
This commit is contained in:
Grayson Wright 2013-09-24 17:07:57 -04:00
parent b1178aef3b
commit 52f3717569

@ -843,6 +843,7 @@ So, for example, instead of the default error message `"can not be blank"` you c
| numericality | :equal_to | :equal_to | count |
| numericality | :less_than | :less_than | count |
| numericality | :less_than_or_equal_to | :less_than_or_equal_to | count |
| numericality | :only_integer | :not_an_integer | - |
| numericality | :odd | :odd | - |
| numericality | :even | :even | - |