aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/i18n.textile
diff options
context:
space:
mode:
authorSean Schofield <schof@apache.org>2009-04-27 11:05:38 -0400
committerSean Schofield <schof@apache.org>2009-04-27 11:05:38 -0400
commitde9ea3bf252799aea2b1b923f3153ec4d85226d1 (patch)
tree58d27f3f8481e8fa3d5373abfc98a498a65cfe2c /railties/guides/source/i18n.textile
parent5ec91ef5ecfce409f1b90e631bdedb4bcef8de5f (diff)
downloadrails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.tar.gz
rails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.tar.bz2
rails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.zip
Made a minor syntax correction.
Diffstat (limited to 'railties/guides/source/i18n.textile')
-rw-r--r--railties/guides/source/i18n.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/i18n.textile b/railties/guides/source/i18n.textile
index c4f178faa0..aa5982af5d 100644
--- a/railties/guides/source/i18n.textile
+++ b/railties/guides/source/i18n.textile
@@ -686,7 +686,7 @@ en:
# will translate User attribute "login" as "Handle"
</ruby>
-Then +User.human_name+ will return "Dude" and +User.human_attribute_name(:login)+ will return "Handle".
+Then +User.human_name+ will return "Dude" and +User.human_attribute_name("login")+ will return "Handle".
h5. Error Message Scopes