diff options
author | Greg Jastrab <greg@smartlogicsolutions.com> | 2010-10-22 13:30:00 -0400 |
---|---|---|
committer | Greg Jastrab <greg@smartlogicsolutions.com> | 2010-10-22 13:30:00 -0400 |
commit | 5b502ed9ccc3fef7ba956588119e0e5b257dfd66 (patch) | |
tree | bb93bb607a3797433e0ae04d2d17c318aff15e94 | |
parent | a04b2131de72c03d9b2568c282585629e08bb692 (diff) | |
download | rails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.tar.gz rails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.tar.bz2 rails-5b502ed9ccc3fef7ba956588119e0e5b257dfd66.zip |
fixed example code for i18n exception handling
-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 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 |