Blogs
On building a framework-agnostic Ruby gem (and making sure it doesn’t break)
What I learned supporting ERB, React, and Vue from a single Ruby gem. And how I keep it from breaking with automated iOS tests.Ruby Native needs to work with ERB, React, and Vue. That’s three frameworks, three sets of conventions, and three ways d...
Protecting rubygems.org from the outside in: DoS prevention and compromised passwords - RubyGems Blog
Every gem published to rubygems.org ends up running on someone’s computer. It’s up to rubygems.org to ensure that each gem contains what it claims, that its metadata is well-formed, and that the person who pushed it is who they say they are.
We’v...
Dynamic Ruby And Hidden Maintenance Costs · Daniela Baron
Ruby makes it easy to write dynamic code, and Rails amplifies this with ActiveSupport conveniences like constantize and classify. When you discover these capabilities, it feels empowering, like you're writing less code that does more. But there's ...
Improving on Sandi Metz's Gear Class from POODR - SaturnCI - Continuous Integration for Ruby on Rails
Chapter 2 of Sandi Metz's Practical Object-Oriented Design: An Agile Primer Using Ruby (POODR), "Designing Classes with a Single Responsibility", opens by giving an example of a class which represents the concept of a bicycle gear. First, a bit ab...
From 25 Minutes to 14 Seconds: Migrating 9,000 Tests to Minitest with an AI Agent Swarm
The RSpec suite took 25 minutes on a MacBook Pro M3 Pro. The migrated Minitest suite runs the same models in 14 seconds. I built a 6-gate multi-agent pipeline in Claude Code to migrate 9,000+ tests, using specialized agents with strict I/O contrac...
Agentic Engineering in Practice: Bringing a Vibe-Coded Rails Project Back to Life | Gurzu
A fast-moving Ruby on Rails project looked successful on the surface, but the codebase told a different story. Here’s how restoring Rails conventions, adding targeted tests, and improving deployments turned a fragile app into a stable, maintainabl...
Upgrade Rails From 8.0 to 8.1 - FastRuby.io | Rails Upgrade Service
How to upgrade Ruby on Rails from 8.0 to 8.1, including the deprecations, required configurations, application code changes, and webpacker API changes.Before beginning with the upgrade process, we have some recommended preparations:
Your Rails ap...
From 40 Minutes to 4 With Tests Parallelization - FastRuby.io | Rails Upgrade Service
How we cut a test suite time from 40 minutes to 4 by upgrading Ruby/Rails, fixing slow tests, and enabling parallelization, dramatically improving developer experience and CI costs.Last month, we finished a big upgrade for a client. The client had...