mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Replace comma with full-stop in scoping chain.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user