Writing Self-Confident Code A common idiom in ruby is to call a method only if its receiver is not nil: thing.foo if thing or: thing && thing.foo Various libraries exist for making this… Read More Uncategorized October 30, 2008