Skip to content

Commit

Permalink
Removed: ActiveRecord AbstractAdapter patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
delner committed Dec 20, 2018
1 parent e55763c commit 601fd80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
2 changes: 0 additions & 2 deletions lib/ddtrace/contrib/active_record/patcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'ddtrace/contrib/patcher'
require 'ddtrace/contrib/active_record/patches/abstract_adapter'
require 'ddtrace/contrib/active_record/events'

module Datadog
Expand All @@ -18,7 +17,6 @@ def patched?
def patch
do_once(:active_record) do
begin
::ActiveRecord::ConnectionAdapters::AbstractAdapter.send(:include, Patches::AbstractAdapter)
Events.subscribe!
rescue StandardError => e
Datadog::Tracer.log.error("Unable to apply Active Record integration: #{e}")
Expand Down
72 changes: 0 additions & 72 deletions lib/ddtrace/contrib/active_record/patches/abstract_adapter.rb

This file was deleted.

0 comments on commit 601fd80

Please sign in to comment.