Sha256: 13c22b7ea3320f25abae01cbe0dc3f4cb073c038847ee0814ba0bc8463338c6d

Contents?: true

Size: 1.05 KB

Versions: 10

Compression:

Stored size: 1.05 KB

Contents

require "action_mailer"

require "super_exception_notifier/custom_exception_classes"
require "super_exception_notifier/custom_exception_methods"
require "super_exception_notifier/helpful_hashes"
require "super_exception_notifier/git_blame"
require "super_exception_notifier/deprecated_methods"
require "super_exception_notifier/hooks_notifier"
require "super_exception_notifier/notifiable_helper"

require "exception_notifier_helper" unless defined?(ExceptionNotifierHelper)
require "exception_notifier" unless defined?(ExceptionNotifier)
require "exception_notifiable" unless defined?(ExceptionNotifiable)
require "notifiable" unless defined?(Notifiable)

Object.class_eval do
  include Notifiable
end

#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'))
#  puts "view path After: #{ActionController::Base.view_paths}"
#end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
super_exception_notifier-2.0.8 rails/init.rb
super_exception_notifier-2.0.7 rails/init.rb
super_exception_notifier-2.0.6 rails/init.rb
super_exception_notifier-2.0.5 rails/init.rb
bmpercy-exception_notification-2.0.5 rails/init.rb
super_exception_notifier-2.0.4 rails/init.rb
super_exception_notifier-2.0.3 rails/init.rb
super_exception_notifier-2.0.2 rails/init.rb
super_exception_notifier-2.0.1 rails/init.rb
super_exception_notifier-2.0.0 rails/init.rb