Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes #4506 [ci skip]

odd and even keys are not scoped by activerecord.
  • Loading branch information...
commit 87a8f95f6cf4493f0cc73a236afad81267acef68 1 parent 5e4102e
@vijaydev vijaydev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/i18n.textile
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.