mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add missing options to Error Message Interpolation guide [CI skip]
This commit is contained in:
parent
be9b68038e
commit
3d78c8f59e
1 changed files with 2 additions and 1 deletions
|
@ -809,7 +809,7 @@ So, for example, instead of the default error message `"cannot be blank"` you co
|
|||
|
||||
| validation | with option | message | interpolation |
|
||||
| ------------ | ------------------------- | ------------------------- | ------------- |
|
||||
| confirmation | - | :confirmation | - |
|
||||
| confirmation | - | :confirmation | attribute |
|
||||
| acceptance | - | :accepted | - |
|
||||
| presence | - | :blank | - |
|
||||
| absence | - | :present | - |
|
||||
|
@ -829,6 +829,7 @@ So, for example, instead of the default error message `"cannot be blank"` you co
|
|||
| 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 | :other_than | :other_than | count |
|
||||
| numericality | :only_integer | :not_an_integer | - |
|
||||
| numericality | :odd | :odd | - |
|
||||
| numericality | :even | :even | - |
|
||||
|
|
Loading…
Reference in a new issue