Rails Daily: Async Destroy Wrong-Row Fix
Async destroy could delete the wrong records when associations used limited or complex scopes. Related Active Storage, routing, and filtering fixes round out a reliability-heavy day.
Duration: PT1M54S
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-12-04T06:05:25Z
- Audio duration: PT1M54S
Source and disclosure
Rails Daily is an unofficial, AI-generated summary of public activity in rails/rails on GitHub.
Podlog isn't affiliated with or endorsed by the project or its maintainers. Episodes aren't reviewed by a person before they go out, so check the source repository for the full story.
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
The most consequential fix in the queue this December fourth is for async destroy deleting the wrong rows.
When a has-many association used a limited scope, like the newest three essays, the cleanup jobs ignored that limit and destroyed the lowest IDs instead, so records you meant to keep got deleted and the ones you meant to delete survived. That's PR sixty thousand one thirty-two, and it pairs with PR sixty thousand…
Separately, Active Storage got two small but real reliability fixes around temporary files. One makes opening a locally stored blob without a block return a tempfile you actually own and can close, instead of raising a missing-block error during things like immediate analysis. The other, PR sixty thousand one…
Also worth knowing, the routing scanner fix in PR sixty thousand ninety-two corrects how bare colons and stars are tokenized, which previously created empty-named symbols and could break generated U R L helpers, and it's already backported to eight-one stable. On performance, a merged change skips rechecking model…
If you use scoped async associations or serve blobs from local disk, check your delete paths and analyzer code against these patches first.
Nearby episodes from Rails Daily
- Postgres Identity and Scaffold Repairs
- Postgres Identity Keys and Cache Hardening
- Attachment Accessibility and Continuable Job Fixes
- Ractor Readiness Push
- Weekly Recap - Stop Mutating Inputs, Fix S T I, and Harden Requests
- STI Type Fixes and Tougher Request Handling
- Stop Mutating Inputs and Tighten Database Handling
- Ordering Rename and Reliability Hardening