rails/init.rb in super_exception_notifier-3.0.2 vs rails/init.rb in super_exception_notifier-3.0.4
- old
+ new
@@ -1,6 +1,5 @@
-puts "Begin Loading ExceptionNotification"
require 'rake'
require 'rake/tasklib'
require "action_mailer"
require "exception_notification/notified_task" unless defined?(NotifiedTask)
@@ -8,11 +7,9 @@
require "exception_notification" unless defined?(ExceptionNotification)
Object.class_eval do
include ExceptionNotification::Notifiable
end
-puts "Object test: #{Object.respond_to?(:notifiable_noisy_environments) ? 'Pass' : 'Fail'}"
-puts "Finished Loading ExceptionNotification"
#It appears that the view path is auto-added by rails... hmmm.
#if ActionController::Base.respond_to?(:append_view_path)
# puts "view path before: #{ActionController::Base.view_paths}"
# ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), 'app', 'views','exception_notifiable'))