Sha256: 2934b004beaff8e628374ab08801989ba30614bc178155d3bb57648bdcb100d3

Contents?: true

Size: 335 Bytes

Versions: 15

Compression:

Stored size: 335 Bytes

Contents

module Timber
  module Frameworks
    module Rails
      # Installs Timber into your Rails app automatically.
      class Railtie < ::Rails::Railtie
        config.timber = Config.instance
        config.before_initialize do
          Probes.insert!(config.app_middleware, ::Rails::Rack::Logger)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
timber-1.0.13 lib/timber/frameworks/rails.rb
timber-1.0.12 lib/timber/frameworks/rails.rb
timber-1.0.11 lib/timber/frameworks/rails.rb
timber-1.0.10 lib/timber/frameworks/rails.rb
timber-1.0.9 lib/timber/frameworks/rails.rb
timber-1.0.8 lib/timber/frameworks/rails.rb
timber-1.0.7 lib/timber/frameworks/rails.rb
timber-1.0.6 lib/timber/frameworks/rails.rb
timber-1.0.5 lib/timber/frameworks/rails.rb
timber-1.0.4 lib/timber/frameworks/rails.rb
timber-1.0.3 lib/timber/frameworks/rails.rb
timberio-1.0.3 lib/timber/frameworks/rails.rb
timberio-1.0.2 lib/timber/frameworks/rails.rb
timberio-1.0.1 lib/timber/frameworks/rails.rb
timberio-1.0.0 lib/timber/frameworks/rails.rb