Posts tagged: #console

Log SQL queries in the Rails console

When debug queries in the console I often want to see the raw DB queries being made. Here's a quick little piece of code which will make those queries visible in the console.

Adrian Marin

Adrian Marin