37signals/marginalia — pull request #9 by fabiokr (2012-05-11 16:05:25+00:00)
Title: Instruments ActiveRecord::LogSubscriber instead of drivers execute

Fixes #8

Instead of instrumenting adapters execute method, instruments ActiveRecord::LogSubscriber. Works fine with the sample app https://github.com/fabiokr/marginalia-rails-3.2.3/tree/instrument_log_subscriber