Skip to content

Commit

Permalink
remove railtie
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmustin committed Jan 7, 2021
1 parent b08df89 commit 013f1dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
7 changes: 1 addition & 6 deletions lib/ddtrace/contrib/auto_instrument.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ def self.extended(base)
module Patch
def add_auto_instrument
super

if Datadog::Contrib::Rails::Utils.railtie_supported?
require 'ddtrace/contrib/rails/auto_instrument_railtie'
else
AutoInstrument.patch_all
end
AutoInstrument.patch_all
end
end

Expand Down
10 changes: 0 additions & 10 deletions lib/ddtrace/contrib/rails/auto_instrument_railtie.rb

This file was deleted.

0 comments on commit 013f1dd

Please sign in to comment.