Rails Daily: Ractor Safety and Insert Internals
Rails core work on July 29th and 30th centered on making Active Record and Active Support safe to use inside Ractors, alongside a cluster of changes cleaning up the insert and returning code path. A libvips security fix also landed, disabling untrusted image loaders by default.
Duration: PT2M27S
Episode overview
This episode is a short developer briefing from Rails Daily.
It explains recent repository work in plain language.
- Show: Rails Daily
- Published: 2026-07-30T06:01:41Z
- Audio duration: PT2M27S
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 July 30th, and today's Rails activity has a clear center of gravity: getting the framework ready for Ractors.
Edouard-chin led three related merges. PR 58067 makes Active Support's TimeZone shareable by freezing it after instantiation. PR 58298 does the same for ActiveModel's model_name, and PR 58294 fixes to_partial_path so its memoized value isn't blocked by Ractor isolation errors. The common thread: string interpolation…
Second theme: Ryuta Kamizono is methodically cleaning up the insert and returning internals. PR 58290 lets returning accept a single column name instead of forcing an array. PR 58297 starts deprecating the older positional pk, id_value, and sequence_name arguments in favor of that new returning syntax. PR 58296…
On reliability: PR 58289 fixes a case where a before_commit callback raising a rollback error left a transaction open and returned a bad connection to the pool — worth knowing if you rely on before_commit for validation-like checks. And commit cd0a258 disables libvips's untrusted image loaders and savers by default,…
What's next: watch for the Ractor connection handling PR to mature past review, and expect the pk deprecation to surface…
T…
Nearby episodes from Rails Daily
- Ractor Safety and the Great Database Cleanup
- SQL Building Gets a Cleanup, Hot Paths Get Leaner
- Weekly Recap - Thread Safety, Cleanup, and Quiet Correctness Fixes
- Kamipo's Cleanup Sweep
- Cleaning Up Rails' Ruby 2 Legacy
- Concurrency Bug Squashed in Route Loading
- The Great Dead Code Purge
- The Great Dead Code Purge