Rails Daily: Parity Fixes, Constraint Handling, and Memory Win
Main gets a sweep of small correctness fixes restoring 8.1 behavior, plus more forgiving check constraint and foreign key removal. The highest-impact merged change makes dependent destroy async load in batches to cut memory use.
Duration: PT2M40S
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-11-22T06:01:21Z
- Audio duration: PT2M40S
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 Sunday, November 22nd, 2026, and this is Rails Daily.
The lead signal is restoration and robustness. Most activity brings main back in line with version 8.1 behavior, while database migrations get more forgiving and one merged change cuts memory use at scale.
First, parity fixes. Several reports show main diverging from 8.1 in everyday application code. Pull request 59908 fixes responses raising when the content type header is not a plain string, such as a MIME type object. Pull request 59909 fixes edit and new polymorphic path helpers skipping an application override…
Second, schema handling. Pull request 59918 finds check constraints by name alone when adding and removing them, so adding with if-not-exists no longer raises a duplicate object error when the validated state differs. Pull request 59920 applies the same idea to foreign keys, ignoring validated and enforcement flags…
Third, scale and test health. Pull request 59793, now merged, changes dependent destroy async to load only needed columns in batches instead of loading all associated records at once. If you delete parents with hundreds of thousands of children, memory pressure drops sharply. In testing,…
W…
Nearby episodes from Rails Daily
- Write Blocks, Upload Fixes, and Security Guide Rewrite
- Multipart Security Patch and Connection Pool Fixes
- Quiet Data Fixes and Thread Safety
- Association Fixes and Pool Leaks
- Association Integrity Fixes and Postgres Schema Cleanup
- Weekly Recap - Active Record Correctness and Performance
- Nested Through Preload Scope Fixes
- Hot-Path Performance and Isolation Fixes