Recent Posts

Five dry-rb Gems Worth Knowing

2 minute read

A short tour of five dry-rb gems I keep coming back to: validation, types, structs, configuration, and composable business logic. Small, focused libraries th...

Practical Service Objects in Ruby

2 minute read

Service objects keep business logic out of fat controllers and models. A handful of conventions (one entry point, a consistent return value, a simple constru...

Full-Text Search in Rails with PostgreSQL

3 minute read

Before reaching for Elasticsearch, it’s worth knowing that PostgreSQL has capable full-text search built in. Here’s how to use it from a Rails app — tokenizi...