diff options
author | Andreas Scherer <andreas_coder@freenet.de> | 2009-03-10 19:15:19 +0100 |
---|---|---|
committer | Andreas Scherer <andreas_coder@freenet.de> | 2009-03-10 19:15:19 +0100 |
commit | 968a0ad502ea9cfd28fab1acd92b577bec1b669e (patch) | |
tree | cd7a0ecdbe986e84316317eaf7f244830b7d749b /railties/guides | |
parent | 7ed698ed79d3c88b6d1bf16087a56bbe8004a2e8 (diff) | |
download | rails-968a0ad502ea9cfd28fab1acd92b577bec1b669e.tar.gz rails-968a0ad502ea9cfd28fab1acd92b577bec1b669e.tar.bz2 rails-968a0ad502ea9cfd28fab1acd92b577bec1b669e.zip |
Replace comma with full-stop in scoping chain.
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/i18n.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/i18n.textile b/railties/guides/source/i18n.textile index 0c493caa4a..c369ce9a7d 100644 --- a/railties/guides/source/i18n.textile +++ b/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] |