# File lib/new_relic/agent/instrumentation/active_record.rb, line 19 def self.insert_instrumentation if defined?(::ActiveRecord::VERSION::MAJOR) && ::ActiveRecord::VERSION::MAJOR.to_i >= 3 ::NewRelic::Agent::Instrumentation::ActiveRecordHelper.instrument_additional_methods end ::ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do include ::NewRelic::Agent::Instrumentation::ActiveRecord end end