The expressive possibilities of assembling ActiveRecord queries out of disparate parts make using Rails so fun.
Article after article has been published in recent years about the benefits of adding service objects to Rails applications. I’m here to tell you they’re wrong. There is a better way.
In the spirit of DHH’s On Writing Software Well series, I’ll be demonstrating by looking at live production code.