Topic: Rails

Adding and Merging ActiveRecord Relations

The expressive possibilities of assembling ActiveRecord queries out of disparate parts make using Rails so fun.

Continue Reading

Why Service Objects are an Anti-Pattern

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.

Continue Reading

Use Ruby Objects to Keep Your Rake Tasks Clean

In the spirit of DHH’s On Writing Software Well series, I’ll be demonstrating by looking at live production code.

Continue Reading