Sha256: 98cd5381d45891b4248a8c381a7a1cac3a70514b008afa59151e8e7976c00c0e
Contents?: true
Size: 592 Bytes
Versions: 13
Compression:
Stored size: 592 Bytes
Contents
require 'rails/railtie' require 'rollbar/plugins/rails/railtie_mixin' module Rollbar class Railtie < ::Rails::Railtie include Rollbar::RailtieMixin initializer 'rollbar.middleware.rails' do |app| require 'rollbar/middleware/rails/rollbar' require 'rollbar/middleware/rails/show_exceptions' app.config.middleware.insert_after ActionDispatch::DebugExceptions, Rollbar::Middleware::Rails::RollbarMiddleware ActionDispatch::DebugExceptions.send(:include, Rollbar::Middleware::Rails::ShowExceptions) end end end
Version data entries
13 entries across 13 versions & 1 rubygems