module Rack

TODO require 'mini_profiler/gc_profiler_ruby_head' if Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION)

Public Class Methods

insert_instrumentation() click to toggle source
# File Ruby/lib/patches/sql_patches.rb, line 267
def self.insert_instrumentation
  ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do
    include ::Rack::MiniProfiler::ActiveRecordInstrumentation
  end
end