Closed dkniffin closed 5 years ago
The gem I linked in the description doesn't seem to be maintained anymore. It's very easy to roll our own solution for this, so we should just do that. You can see an example of that on DPT: https://github.com/smashingboxes/daimler_plant_tour-api/pull/263/files#diff-f19fe47de267f47fe5edb0527c3d98a6
Fixed via #130
active-record-query-trace adds output to the logs that shows where each query was called from. This can be immensely helpful in debugging N+1 and other query related issues.
Example output: