diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-01-21 07:36:59 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-01-21 07:36:59 -0200 |
commit | 97071e0d9ac0746f53823895965cb326bd5db9b9 (patch) | |
tree | 82b7a76374dd9924bb6a41bd591191318c4d7ba9 | |
parent | fc36841dbb85652fed450e0ba8f2569b7ce59bcf (diff) | |
parent | 3d78c8f59e8a22427ef88a0cf9e1171da2497293 (diff) | |
download | rails-97071e0d9ac0746f53823895965cb326bd5db9b9.tar.gz rails-97071e0d9ac0746f53823895965cb326bd5db9b9.tar.bz2 rails-97071e0d9ac0746f53823895965cb326bd5db9b9.zip |
Merge pull request #18621 from morgoth/error-message-on-validation-guides
Add missing options to Error Message Interpolation guide [CI skip]
-rw-r--r-- | guides/source/i18n.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md index fd2051e675..fbee267975 100644 --- a/guides/source/i18n.md +++ b/guides/source/i18n.md @@ -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 | - | |