active_record_connection_tracing_extension.rb

Path: lib/xray/dtrace/rails/active_record_connection_tracing_extension.rb
Last Update: Tue Jul 22 22:39:48 -0700 2008

Decorate ActiveRecord connection with DB tracing

Methods

Included Modules

XRay::DTrace::Tracer

Public Instance methods

[Source]

    # File lib/xray/dtrace/rails/active_record_connection_tracing_extension.rb, line 7
 7:   def execute_with_tracing(sql, name=nil)
 8:     firing('db', sql) do
 9:        execute_without_tracing sql, name
10:     end
11:   end

[Validate]