Ruby on Rails: Getting Serious About Ractor Safety

Three merged pull requests this cycle tackle Active Record's readiness for Ractors by fixing shared state around reflections, timestamps, and the reloader, while a fast-path rewrite of BroadcastLogger improves everyday logging performance.

Duration: PT2M39S

Episode overview

This episode is a short developer briefing from Ruby on Rails.

It explains recent repository work in plain language.

  • Show: Ruby on Rails
  • Published: 2026-09-11T13:14:33Z
  • Audio duration: PT2M39S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, it's September 11th, 2026, and here's what moved in Rails overnight.

The clearest thread today is Ractor safety. Multiple merged PRs independently fix the same class of problem: code that lazily writes to shared, unfrozen state, which breaks the moment you try to run it on a non-main Ractor. PR 58668 from Edouard-chin freezes Active Record's reflection cache, using copy-on-write so…

The second theme is performance in hot paths. John Hawthorn's BroadcastLogger work, spread across several commits, replaces generic dispatch-by-metaprogramming with direct method delegation and simpler setters. BroadcastLogger sits in front of your app's default logger, so speeding up "logger dot debug" calls…

Elsewhere: PR 58733 addresses a real production pain point — deadlocks in "find or create by" under MySQL when concurrent transactions collide on the same duplicate record. PR 58734 relaxes an overly strict boot-time check so libvips issues don't crash apps that never use the vips processor. And PR 58730 wires up…

What's next: expect more Ractor-safety cleanup as Active Job work continues, and watch for the MySQL deadlock fix and libvips boot fix to land given they're still open.

That's…

Nearby episodes from Ruby on Rails

  1. Multi-Database Correctness and Quiet Data Bugs
  2. Performance Fixes and Real-World Bug Reports
  3. Dependency Cleanup and Cross-Platform Fixes
  4. Performance Cleanup and Release Damage Control
  5. Weekly Recap - Getting Rails Ready for Ractors
  6. Docker Boot Fix and a Documentation Overhaul
  7. The Ractor Safety Push
  8. Ractor Safety Takes Center Stage