Recent Posts

Flying towards a hub

1 minute read

Most people who work for ThoughtWorks in the US travel for a living, so we spend a fair amount of time talking about travel. Lately, we have noticed a patter...

Alphabetize schema.rb columns

1 minute read

I wrote previously about automated testing of database rollback scripts in rails. After running the rollback scripts, we verify our database schema by compar...

Reducing build time

2 minute read

A short build time is a critical element of continuous integration. I’ve been involved in a number of build improvements on my current project (both local an...

ActiveRecord serialize only saves data

less than 1 minute read

We ran into an interesting gotcha on our project the other day. We use serialize on ActiveRecord to save ruby objects to the database. This is described in J...

Handling nil in method calls

1 minute read

On my current project, we noticed common pattern when dealing with nil. We would often check an object to see if it was nil before calling a method on that o...