Skip to content
Browse files

Better class name

  • Loading branch information...
1 parent 74fa0d3 commit 5890ced113a63687b8ede0440ee3331449efe0af @khustochka khustochka committed Apr 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/i18n.textile
4 guides/source/i18n.textile
@@ -870,7 +870,7 @@ In other contexts you might want to change this behaviour, though. E.g. the defa
module I18n
- class JustRaiseHandler < ExceptionHandler
+ class JustRaiseExceptionHandler < ExceptionHandler
def call(exception, locale, key, options)
if exception.is_a?(MissingTranslation)
raise exception.to_exception
@@ -881,7 +881,7 @@ module I18n
-I18n.exception_handler =
+I18n.exception_handler =
This would re-raise only the +MissingTranslationData+ exception, passing all other input to the default exception handler.

0 comments on commit 5890ced

Please sign in to comment.
Something went wrong with that request. Please try again.