Category Archives: Uncategorized

Usually we use delegation to help separate responsibilities and avoid mashing all responsibility and logic into the the one object. This is a great goal and the first one SOLID lists. For those who might not have seen a concrete … Continue reading →

Over the Christmas period I found time to write a Ruby Gem called hacker_term which I’ve just published to RubyGems. It allows you to see a list of the front page HN stories, sort them by title, score and number of … Continue reading →

A classic problem In my latest job I’ve been tasked with developing processes and tools for a large-ish development team (30+). I knew within a week of starting that there was one major problem we had to solve quickly, and … Continue reading →

We’ve started using bundle package to package all our gems prior to deployment. But before I push our code up to take care of this I need to clean down all the globally installed gems on each production machine. But … Continue reading →

When I started mocking objects using RSpec Mocks, I never thought I’d end up using them outside of actual unit testing. But this week, while working on a new internal gem to build out how we register documents, I found … Continue reading →

A Checkered Past When our company was founded – long before the advent of GitHub or other cloud-based social coding hubs – we used to deploy our new code to the website by copying files over the network. And in … Continue reading →

Rationale Mercurial will be the 3rd version control system I’ve used since I started programming professionally. The first was SourceSafe. The second was Subversion. And now we’ve migrated all our source code to Mercurial. Often I’ll be asked: why did … Continue reading →