mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Replace comma with full-stop in scoping chain.
This commit is contained in:
parent
7ed698ed79
commit
968a0ad502
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ I18n.translate :"activerecord.errors.messages.invalid"
|
|||
Thus the following calls are equivalent:
|
||||
|
||||
<ruby>
|
||||
I18n.t 'activerecord.errors,messages.invalid'
|
||||
I18n.t 'activerecord.errors.messages.invalid'
|
||||
I18n.t 'errors.messages.invalid', :scope => :active_record
|
||||
I18n.t :invalid, :scope => 'activerecord.errors.messages'
|
||||
I18n.t :invalid, :scope => [:activerecord, :errors, :messages]
|
||||
|
|
Loading…
Reference in a new issue