module Datadog::Contrib::ActiveRecord::Patcher

Patcher enables patching of 'active_record' module.

Public Instance Methods

patch() click to toggle source
# File lib/ddtrace/contrib/active_record/patcher.rb, line 17
def patch
  Events.subscribe!
end
target_version() click to toggle source
# File lib/ddtrace/contrib/active_record/patcher.rb, line 13
def target_version
  Integration.version
end