Everyday Rails

Why I’ve started using justfiles in my Rails apps

Boost your developer experience with consistent command line interfaces. Here's how. (February 24, 2024)

New version of Testing with RSpec book for 2024!

A new edition is in the works, with coverage on the latest versions of Rails, Ruby, and RSpec, and more. (February 06, 2024)

Using devcontainers in GitHub Actions CI workflows

It's simpler than ever to wire CI pipelines, thanks to devcontainers. Here's how I run Rails test suites these days in GitHub workflows. (January 14, 2024)

Write resilient tests with matchers that take other matchers

Here's a short, neat trick to help save time when updating RSpec specs to reflect new test data. (December 07, 2023)

A few things I've learned to simplify working in dev containers

I'm still learning as I go, but here are some tidbits I've learned so far about using dev containers for most of my software projects these days. (September 05, 2023)

Test-driven development in the age of artificial intelligence

How ChatGPT, GitHub Copilot, and TDD made me a professional Go programmer in less than an hour. Kind of. (June 26, 2023)

Deprecating code in a Rails application

Here's how to add good deprecation warnings to your Rails applications, and why it might be a good idea. (July 31, 2021)

Automatic code review with Pronto and GitHub Actions

Nobody likes to be the one to pick through your pull request for style guide and security violations. Here's how to ask robots to do the work for you, automatically! (May 29, 2021)

Working around the mimemagic issue in my RSpec testing book

The book's sample source no longer installs due to a dependency change. Here's how to fix it. (April 05, 2021)

Using containers as a Rails development environment, part 4: Composing services

Before integrating additional services into a container-based development environment, we need to start thinking about the app as a collection of services. Here's how to begin that process. (March 14, 2021)

Test with confidence!

If you liked my series on practical advice for adding reliable tests to your Rails apps, check out the expanded ebook version. Lots of additional, exclusive content and a complete sample Rails application.

Newsletter

Ruby on Rails news and tips, and other ideas and surprises from Aaron at Everyday Rails. Delivered to your inbox on no particular set schedule.