Permalink
Browse files

fixed example code for i18n exception handling

  • Loading branch information...
1 parent 6f6a24e commit 6f328094ef16f56025ca9a89341c6371510a9fd2 @gjastrab gjastrab committed with fxn Oct 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 6f32809

Please sign in to comment.