Archive for the “Ruby” category

Getting to know Ruby debugger

by Cameron Dykes on October 31, 2011

This is a guest-post by Cameron Dykes, about getting started with the ruby debugger. A key step to debugging any program is replicating the environment to ensure you can consistently produce the bug. In my early Ruby days, to inspect (…)

Read the rest of this entry »

Idiomatic shared state in RSpec

by Laust Rud Jacobsen on February 17, 2011

RSpec is an extremely convenient tool for structuring and writing specs, and I use it on all my ruby-projects. One set of built-in helpers I’d like to cheer on a bit are let and let!, as they can greatly simplify (…)

Read the rest of this entry »

Identify what your Ruby process is doing

by Laust Rud Jacobsen on February 2, 2011

Quick diagnostics of production issues become a lot easier with a direct way to inspect the running process. Ever wondered exactly what the program is doing right now, without adding a lot of slow logging? With this gem in place, (…)

Read the rest of this entry »