mirror of https://github.com/rails/rails
Merge pull request #26193 from iancanderson/ia-document-i18n-required-message
i18n documentation for required belongs_to message
This commit is contained in:
commit
fd0c33d7cc
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue