module Rack

based off github.com/newrelic/rpm/blob/master/lib/new_relic/agent/instrumentation/active_record.rb fallback for alls sorts of weird dbs

Public Class Methods

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