Sha256: a4d49215b54a79ffd2cd6665b6c585800555466e5e1a3cf009995b1ee4bd908a
Contents?: true
Size: 591 Bytes
Versions: 41
Compression:
Stored size: 591 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
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
rollbar-2.15.0 | lib/rollbar/plugins/rails/railtie32.rb |