Print stack trace of all queries to the Rails log. Helpful to find where queries are being executed in your application.
Cody Caughlan
gem "active_record_query_trace", "~> 1.2"