[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.
Merge pull request #12346 from graysonwright/patch-1

[Documentation] Add a missing validation to I18n docs