The poor, misunderstood decorator

This is an old pet peeve of mine: again and again I see people failing to grasp what a decorator is. I don’t have any data to back me up here, but I would say that it is the most...

What are Rails helpers good for, anyway?

With more than 20 helper modules included by default, Rails surely doesn’t lack options when it comes to generating HTML programmatically. That doesn’t mean you should be using them all, though. I admit that the post title is a bit...

Stop the @! (or why you should be careful when using instance variables)

Ruby is great, but once in a while I question some decisions in its design. Instance variables is one of them: the fact that virtually any instance variable “exists” at any time and its default value is nil leads to...

Finding words in a UNIX-like system (or how to create a unique username)

Even though it’s an essential part of creating an online presence, I could never come up with a proper username that would work across different services. Today I decided that I would find one, no matter what. It should be...

A Series of Unfortunate Events

This may be unusual, but I want to start my first post about experiences as a freelancer not with tips, but talking about a mistake. Not actually A mistake, but A Series of Unfortunate Events. It all started well, as...