aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/i18n.md
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2012-09-02 13:08:06 -0400
committerPrem Sichanugrist <s@sikac.hu>2012-09-17 15:54:23 -0400
commit2c38567646791f223b4e48550fba0e0386a05d96 (patch)
treec9a218e052d5c59aebce5c6a29d436953bc57a1c /guides/source/i18n.md
parent9873dd800b77105fe17f583f0d036240ef334826 (diff)
downloadrails-2c38567646791f223b4e48550fba0e0386a05d96.tar.gz
rails-2c38567646791f223b4e48550fba0e0386a05d96.tar.bz2
rails-2c38567646791f223b4e48550fba0e0386a05d96.zip
Convert all tables to Markdown syntax
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r--guides/source/i18n.md45
1 files changed, 23 insertions, 22 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index 4857973b7a..91d12fdc85 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -780,28 +780,29 @@ So, for example, instead of the default error message `"can not be blank"` you c
* `count`, where available, can be used for pluralization if present:
-|_. validation |_.with option |_.message |_.interpolation|
-| confirmation | - | :confirmation | -|
-| acceptance | - | :accepted | -|
-| presence | - | :blank | -|
-| length | :within, :in | :too_short | count|
-| length | :within, :in | :too_long | count|
-| length | :is | :wrong_length | count|
-| length | :minimum | :too_short | count|
-| length | :maximum | :too_long | count|
-| uniqueness | - | :taken | -|
-| format | - | :invalid | -|
-| inclusion | - | :inclusion | -|
-| exclusion | - | :exclusion | -|
-| associated | - | :invalid | -|
-| numericality | - | :not_a_number | -|
-| numericality | :greater_than | :greater_than | count|
-| numericality | :greater_than_or_equal_to | :greater_than_or_equal_to | count|
-| 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 | :odd | :odd | -|
-| numericality | :even | :even | -|
+| validation | with option | message | interpolation |
+| ------------ | ------------------------- | ------------------------- | ------------- |
+| confirmation | - | :confirmation | - |
+| acceptance | - | :accepted | - |
+| presence | - | :blank | - |
+| length | :within, :in | :too_short | count |
+| length | :within, :in | :too_long | count |
+| length | :is | :wrong_length | count |
+| length | :minimum | :too_short | count |
+| length | :maximum | :too_long | count |
+| uniqueness | - | :taken | - |
+| format | - | :invalid | - |
+| inclusion | - | :inclusion | - |
+| exclusion | - | :exclusion | - |
+| associated | - | :invalid | - |
+| numericality | - | :not_a_number | - |
+| numericality | :greater_than | :greater_than | count |
+| numericality | :greater_than_or_equal_to | :greater_than_or_equal_to | count |
+| 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 | :odd | :odd | - |
+| numericality | :even | :even | - |
#### Translations for the Active Record `error_messages_for` Helper