aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-03-07 17:43:50 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-03-07 17:43:54 +0530
commit87a8f95f6cf4493f0cc73a236afad81267acef68 (patch)
tree9417d9e9a026e36f6dcbc9138fdb829655b5b4d6 /railties
parent5e4102ef5f23c3e20d6e70d068f28e77eb722f1d (diff)
downloadrails-87a8f95f6cf4493f0cc73a236afad81267acef68.tar.gz
rails-87a8f95f6cf4493f0cc73a236afad81267acef68.tar.bz2
rails-87a8f95f6cf4493f0cc73a236afad81267acef68.zip
fixes #4506 [ci skip]
odd and even keys are not scoped by activerecord.
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/i18n.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/i18n.textile b/railties/guides/source/i18n.textile
index 25201888e7..320f1e9d20 100644
--- a/railties/guides/source/i18n.textile
+++ b/railties/guides/source/i18n.textile
@@ -521,7 +521,7 @@ h5. Bulk and Namespace Lookup
To look up multiple translations at once, an array of keys can be passed:
<ruby>
-I18n.t [:odd, :even], :scope => 'activerecord.errors.messages'
+I18n.t [:odd, :even], :scope => 'errors.messages'
# => ["must be odd", "must be even"]
</ruby>