aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/i18n.md
diff options
context:
space:
mode:
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>2015-01-21 09:45:18 +0100
committerWojciech Wnętrzak <w.wnetrzak@gmail.com>2015-01-21 09:45:18 +0100
commit3d78c8f59e8a22427ef88a0cf9e1171da2497293 (patch)
tree74bfc8af95399d87ab8dae6c0ec3c880a5817f84 /guides/source/i18n.md
parentbe9b68038e83a617eb38c26147659162e4ac3d2c (diff)
downloadrails-3d78c8f59e8a22427ef88a0cf9e1171da2497293.tar.gz
rails-3d78c8f59e8a22427ef88a0cf9e1171da2497293.tar.bz2
rails-3d78c8f59e8a22427ef88a0cf9e1171da2497293.zip
Add missing options to Error Message Interpolation guide [CI skip]
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r--guides/source/i18n.md3
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 | - |