Permalink
Browse files

Revert inadvertent change brought in from HEAD

  • Loading branch information...
1 parent 4049860 commit f4f88f4ab365dc9b7877a1afe125a71c516ce859 @bkayser bkayser committed Jul 17, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/newrelic/agent/instrumentation/active_record.rb
@@ -43,7 +43,7 @@ def log_with_newrelic_instrumentation(sql, name, &block)
# we check scope_depth vs 2 since the controller is 1, and the
#
if NewRelic::Agent.instance.transaction_sampler.scope_depth < 2
- self.class.trace_method_execution "Database/DirectSQL", true, true, false do
+ self.class.trace_method_execution "Database/DirectSQL", true, true do
log_with_capture_sql(sql, name, &block)
end
else
@@ -100,4 +100,4 @@ class HasManyAssociation
end
-end
+end

0 comments on commit f4f88f4

Please sign in to comment.