Posts tagged: #debugging

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

How to Use Local Gem Versions for Development and Debugging

Need to peek inside a gem's code or test local changes? Learn two essential methods every Ruby developer should know: using bundle open for quick exploration and the local path approach for sustained development work. Perfect for debugging third-party gems or testing your changes before submitting PRs.

Adrian Marin

Adrian Marin