diff options
author | Aditya Chadha <aditya@sublucid.com> | 2009-04-27 22:01:36 -0400 |
---|---|---|
committer | Aditya Chadha <aditya@sublucid.com> | 2009-04-27 22:01:36 -0400 |
commit | 57f031cba2740fd8afc867960220e28a1c333dc5 (patch) | |
tree | 4cfa07346a6e134c9e7331960ba3f91d0d962859 /railties/guides/source/i18n.textile | |
parent | eeb12d6ad5c24e65f63029f517e23fc5e02a617c (diff) | |
parent | 4df9680a6fe6608e8a82924f52e51a028a8575e5 (diff) | |
download | rails-57f031cba2740fd8afc867960220e28a1c333dc5.tar.gz rails-57f031cba2740fd8afc867960220e28a1c333dc5.tar.bz2 rails-57f031cba2740fd8afc867960220e28a1c333dc5.zip |
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/i18n.textile')
-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 |