Merge pull request #26193 from iancanderson/ia-document-i18n-required-message

i18n documentation for required belongs_to message
This commit is contained in:
Jon Moss 2016-08-17 22:24:01 -04:00 committed by GitHub
commit fd0c33d7cc
1 changed files with 1 additions and 0 deletions

View File

@ -888,6 +888,7 @@ So, for example, instead of the default error message `"cannot be blank"` you co
| inclusion | - | :inclusion | - |
| exclusion | - | :exclusion | - |
| associated | - | :invalid | - |
| non-optional association | - | :required | - |
| numericality | - | :not_a_number | - |
| numericality | :greater_than | :greater_than | count |
| numericality | :greater_than_or_equal_to | :greater_than_or_equal_to | count |