Why Rails Parallel Tests Hang Forever on a Postgres Lock

bin/rails test stopped printing and never finished. Not a failure. Not a stack trace. The log just froze mid-run, and the parent process sat at 0% CPU: Running 2014 tests in parallel using 10 …

Ruby Gotcha: Environment Variables Are Always Strings

I recently ran into a small but frustrating production bug caused by a common Ruby mistake. I had a feature controlled by an environment variable: DISABLE_THING=false The application restarted …

Ruby on Rails Internals

For this talk at DevMeetup, I walked through how Rails works internally - tracing the full code journey from Rack all the way through to Railties. The session covers the entire Rails request lifecycle …