mirror of https://github.com/rails/rails
fixes #4506 [ci skip]
odd and even keys are not scoped by activerecord.
This commit is contained in:
parent
5e4102ef5f
commit
87a8f95f6c
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue