github / query_trace forked from ntalbott/query_trace

Adds query origin tracing to your logs.

This URL has Read+Write access

query_trace / init.rb
100644 6 lines (4 sloc) 0.106 kb
1
2
3
4
5
6
require 'query_trace'
 
class ::ActiveRecord::ConnectionAdapters::AbstractAdapter
  include QueryTrace
end