diff options
author | Sean Schofield <schof@apache.org> | 2009-04-27 11:05:38 -0400 |
---|---|---|
committer | Sean Schofield <schof@apache.org> | 2009-04-27 11:05:38 -0400 |
commit | de9ea3bf252799aea2b1b923f3153ec4d85226d1 (patch) | |
tree | 58d27f3f8481e8fa3d5373abfc98a498a65cfe2c /railties/guides/source | |
parent | 5ec91ef5ecfce409f1b90e631bdedb4bcef8de5f (diff) | |
download | rails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.tar.gz rails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.tar.bz2 rails-de9ea3bf252799aea2b1b923f3153ec4d85226d1.zip |
Made a minor syntax correction.
Diffstat (limited to 'railties/guides/source')
-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 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 |