Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed example code for i18n exception handling

  • Loading branch information...
commit 5b502ed9ccc3fef7ba956588119e0e5b257dfd66 1 parent a04b213
@gjastrab gjastrab authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/i18n.textile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.