Faster Specs

Getting the full benefits of TDD requires fast-running specs. The feedback cycle is what makes the difference between a pleasurable “red-green-refactor” flow and an eternity of testing-tedium where the...

vim key-mappings

:map In the land of Vim, most key sequences can easily be mapped to others. The basic syntax is map a b, which tells Vim that when you...

Rigging Vim's Netrw

If you’re a Vim user, you’re probably familiar with the NERDTree, a plugin that provides a sidebar for navigating the filesystem, much like you get with a more graphical...

Polymorphic Mythology

I was recently introduced to polymorphic associations in Active Record. They provide some extra flexibility in how you choose to wire up your models, and can be an elegant solution...

Chef roles

It took me a while to wrap my head around a Chef role. It sounds simple enough at first – a collection of recipes that allows a node to act...