aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/i18n.textile
diff options
context:
space:
mode:
authorGreg Jastrab <greg@smartlogicsolutions.com>2010-10-22 13:30:00 -0400
committerGreg Jastrab <greg@smartlogicsolutions.com>2010-10-22 13:30:00 -0400
commit5b502ed9ccc3fef7ba956588119e0e5b257dfd66 (patch)
treebb93bb607a3797433e0ae04d2d17c318aff15e94 /railties/guides/source/i18n.textile
parenta04b2131de72c03d9b2568c282585629e08bb692 (diff)
downloadrails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.tar.gz
rails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.tar.bz2
rails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.zip
fixed example code for i18n exception handling
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 8a7e9fcae6..998eac81f6 100644
--- a/railties/guides/source/i18n.textile
+++ b/railties/guides/source/i18n.textile
@@ -830,7 +830,7 @@ In other contexts you might want to change this behaviour, though. E.g. the defa
<ruby>
module I18n
- def just_raise_that_exception(*args)
+ def self.just_raise_that_exception(*args)
raise args.first
end
end