Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Sign in Subscribe

debugging

A collection of 2 posts
ruby

Disable pry and exit debugger without killing the main program in Ruby

You ever ran into a situation where you had a huge loop running and you put a binding.pry within that loop for debugging and wondered how the hell you would exit the debugger? The answer is simple disable-pry is your saviour.! via GIPHY [https://giphy.com/gifs/loki-saviour-l2QEjYgve6wmqLKog] This
Nov 17, 2017 1 min read
SQL

Find out which part of your code is triggering ActiveRecord or SQL queries.

Today, I got a new pet project to play with and my job was to identify the bottlenecks and performance improvements we can make in the application. So I wanted to jump in and wanted to see what SQL queries were being triggered when someone requests data. Going through the
Mar 15, 2017 1 min read
Page 1 of 1
Today I learned © 2023
Powered by Ghost