Blog

All Posts

Pair programming – How should you do it?

This post is mostly about how we do pair programming and things that we've learnt in the last few years about effectively doing it. We've also included some quirks that you will notice when you start practicing pair programming. So we've...

Why we don’t estimate?

Estimations are predictions. Unfortunately, they end up being perceived as commitments. And the team in question starts getting unduly pressured when the estimates go wrong. At Multunus this has happened many times in the past. We learnt a lot of...

Naming – The hardest thing in Software

There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton   All of us struggle with naming on a day to day basis. What should we call a class, a field or table...

Cleaner custom validations in ActiveRecord

We've all been there. An ActiveRecord model deep in the domain of the app. Rails (or rather ActiveRecord) provides a lot of validations off the shelf. But sometimes, they are just not enough to get the job done. That's when...

Refactoring: Rails Presenter pattern

Rails by default uses simple functions for view helpers. This is good enough for most scenarios, but there are times when it makes sense to create view objects instead. Let's take a look at a scenario like this. Here, we...

Parallel Test Execution in Rails

Tests are run quite frequently, hence it is vital that the test suite runs as fast as possible to ensure development time is not wasted waiting for the suite to complete its runs. However, we occasionally find ourselves with a...

Get weekly updates