diff --git a/lib/tasks/instrumentation_generator/templates/chain_method.tt b/lib/tasks/instrumentation_generator/templates/chain_method.tt index c318b4405f..00d60621ce 100644 --- a/lib/tasks/instrumentation_generator/templates/chain_method.tt +++ b/lib/tasks/instrumentation_generator/templates/chain_method.tt @@ -1,5 +1,4 @@ alias_method(:<%= @method.downcase %>_without_new_relic, :<%= @method.downcase %>) -alias_method(:<%= @method.downcase %>, :<%= @method.downcase %>_with_new_relic) def <%= @method.downcase %><%= "(#{@args})" unless @args.empty? %> <%= @method.downcase %>_with_new_relic<%= "(#{@args})" unless @args.empty? %> do