1
0
Fork 0
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:
Andreas Scherer 2009-03-10 19:15:19 +01:00
parent 7ed698ed79
commit 968a0ad502

View file

@ -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]