Rails Daily: Cleaning Up After Recent Regressions
Rails maintainers spent the day fixing follow-on issues from recent changes—an async statement cache bug and an enumerable regression—while a new performance fix targets quadratic slowdowns in large attachment collections.
Duration: PT2M28S
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-08-22T06:01:57Z
- Audio duration: PT2M28S
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 August 22nd, 2026, and this is Rails Daily.
Today's activity centers on cleanup: fixing regressions introduced by recent changes, plus one meaningful performance win for Active Storage.
Let's start with the regressions. PR 58537 from viralpraxis fixed a bug in Active Record's statement cache when running async with out-of-range bind values. The code was calling a method, Promise dot wrap, that doesn't actually exist on Active Record's Promise class—it should have been Promise, Complete, dot new.…
The other major thread is performance. PR 58533 from dpaluy tackles a quadratic lookup problem when attaching files to a large has-many-attached collection. Two separate code paths—one in collection association, one in Active Storage's create-one-of-many logic—were each doing linear scans that compound as collection…
One more housekeeping note: a commit from Ryuta Kamizono removed a test-only association and index that were only there to force a specific query order. Since PR 58527 changed the underlying test to check query shape instead of ordering, that scaffolding was no longer needed—a small maintainability win.
What to remember: if you're touching attribute method…
Nearby episodes from Rails Daily
- Query Internals and a Markdown Security Fix
- Weekly Recap - Ractor Safety and Query Correctness
- Trust the Boundary, Fix the Docs
- Documentation Cleanup and Lazy Loading Fixes
- Ractor Safety Push and Test Determinism Cleanup
- Ractors Push Rails Toward Frozen State
- Correctness Fixes and Ractor Readiness
- Data Integrity Fixes Across the Association Layer