From 5890ced113a63687b8ede0440ee3331449efe0af Mon Sep 17 00:00:00 2001
From: "xyctka@gmail.com" <xyctka@gmail.com>
Date: Fri, 6 Apr 2012 10:04:26 +0100
Subject: Better class name

---
 guides/source/i18n.textile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'guides/source/i18n.textile')

diff --git a/guides/source/i18n.textile b/guides/source/i18n.textile
index 89d67e1f92..6179694c40 100644
--- a/guides/source/i18n.textile
+++ b/guides/source/i18n.textile
@@ -870,7 +870,7 @@ In other contexts you might want to change this behaviour, though. E.g. the defa
 
 <ruby>
 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
   end
 end
 
-I18n.exception_handler = I18n::JustRaiseHandler.new
+I18n.exception_handler = I18n::JustRaiseExceptionHandler.new
 </ruby>
 
 This would re-raise only the +MissingTranslationData+ exception, passing all other input to the default exception handler.
-- 
cgit v1.2.3

