Ruby on Rails: Async Destroy Fixes and Tempfile Cleanup

Scoped destroy async jobs and Active Storage tempfile handling drew the most attention, with fixes for wrong-row deletes, uncountable scopes, and leaked temp files. A merged Active Record nil-handling fix and a security-relevant parameter filtering gap round out the high-impact changes.

Duration: PT2M20S

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-12-04T14:12:32Z
  • Audio duration: PT2M20S

Source and disclosure

Ruby on Rails 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.

Scoped background destroys were deleting the wrong records, and that story dominated December fourth. If you rely on destroy async with custom scopes, this one is directly for you.

Pull request sixty-one one thirty-two fixes limited associations, where a limit of three would read back the newest essays but queue jobs for the lowest ids, so the wrong rows disappeared. A companion, sixty-one one thirty-three, stops counting those scoped associations to size the default job, because custom…

Separately, two Active Storage fixes tighten up temp files around blob opens. Pull request sixty-one one thirty-five returns a caller-owned temp file for local blobs when there is no block, which avoids a missing-block error during immediate analysis, and sixty-one one thirty-four ensures a failed download or bad…

On correctness, merged pull request fifty-six seven fourteen means an explicit nil is now respected for nullable columns with database default functions when partial inserts are off, instead of letting the database default win. Open pull request sixty-one one twenty-nine closes a filtering gap where the newer Rack…

There is also a proposal for before and after table hooks in the schema…

Nearby episodes from Ruby on Rails

  1. Postgres Identity Keys and Quiet Reliability Fixes
  2. Scaffolds, Resumable Jobs, and View Fixes
  3. Ractor Readiness Push
  4. Bad Input Handling and Inheritance Fixes
  5. Weekly Recap - Frozen Fixes, Safer Requests, and Data Layer Polish
  6. Ractor Safety Push and Active Record Reliability
  7. Stop Mutating Inputs and Safer Credentials
  8. Join Fixes, Allocation Cuts, and Upgrade Warnings