Posts

I needed to test some code that reads and writes files on the filesystem. I got sick of manually setting up a scratch area for my test …

UPDATE 4/20/2010: Well Grounded Rubyist is not prerelease anymore. Corrected. UPDATE 6/30/2011: Fix links to _why’s poignant …

The latest master Sinatra now supports optional block parameters. It captures any parameters in the URL and passes them into the block …

It seems that it’s not well publicized, but if you want to run your RSpec files with autotest try autospec instead. It looks …

Update: Deskin points out that there is a commit to git that fixes this problem by adding a --root option to rebase --onto. So when you …

This is a Capistrano recipe I use to configure my production database.yml. Before deploy:setup executes, this recipe will prompt for a …

I generally think that new year resolutions are silly, but since it’s the new year and I have some goals I’d like to set, I …