Rails 3 plugin to log sources of SQL queries to Rails log
Ruby
Pull request Compare This branch is 1 commit ahead, 36 commits behind ruckus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
MIT-LICENSE
README
Rakefile
active-record-query-trace.gemspec
init.rb
install.rb
uninstall.rb

README

Requirements
============
Rails 3+

ActiveRecordQueryTrace
======================
Enable plugin to log the source of SQL queries to Rails logger. I made this a plugin versus a Gem so its easier to enable/disable on demand. Otherwise it can cruft up the logs pretty easy.

To disable just comment out the require() in init.rb

Copyright (c) 2011 Cody Caughlan, released under the MIT license