Permalink
Browse files

Replace comma with full-stop in scoping chain.

  • Loading branch information...
1 parent 7ed698e commit 968a0ad502ea9cfd28fab1acd92b577bec1b669e Andreas Scherer committed Mar 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/i18n.textile
View
2 railties/guides/source/i18n.textile
@@ -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]

0 comments on commit 968a0ad

Please sign in to comment.