aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-08-17 22:24:01 -0400
committerGitHub <noreply@github.com>2016-08-17 22:24:01 -0400
commitfd0c33d7cc8dd06083f543cf531ab1f4c52c6a6e (patch)
treeec90340fb1d347ab1dcc96cd665f79b55f989600
parent6568cfd78c89fe70ac7304d03f8f4825fe0b7c72 (diff)
parentfbaa5e390f018615bedb5e7c0f7ec2df24840963 (diff)
downloadrails-fd0c33d7cc8dd06083f543cf531ab1f4c52c6a6e.tar.gz
rails-fd0c33d7cc8dd06083f543cf531ab1f4c52c6a6e.tar.bz2
rails-fd0c33d7cc8dd06083f543cf531ab1f4c52c6a6e.zip
Merge pull request #26193 from iancanderson/ia-document-i18n-required-message
i18n documentation for required belongs_to message
-rw-r--r--guides/source/i18n.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md
index e623f8cf8a..1565008a69 100644
--- a/guides/source/i18n.md
+++ b/guides/source/i18n.md
@@ -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 |