Rails Daily: Quiet Query Fixes and Allocation Cuts

Multiple merged fixes correct Active Record queries that silently dropped conditions or associations, alongside performance work to reduce per-row allocations. Upgrade notes flag two breaking changes coming in Rails 8.2.

Duration: PT2M29S

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-11T06:01:49Z
  • Audio duration: PT2M29S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hello, it's Wednesday, November 11th, 2026, and this is Rails Daily.

The big signal today is silent wrong results getting fixed in Active Record, paired with a steady push to cut per-request allocations.

First, query correctness. Several merged changes address cases where Rails dropped parts of a query without error. Pull request 59709 fixes merging a relation that un-scopes a column — like a soft-delete flag — where the un-scoping leaked across tables and removed conditions on joined tables. Pull request 59729…

Second, performance by removing repeated work. Pull request 59727 stops rebuilding eager load primary key aliases for every row, computing them once per join node instead. Pull request 59726 primes the response content-type cache for the default character set so the header isn't re-parsed. Pull request 59739…

Finally, upgrade and operational sharp edges. Two proposed upgrade guide notes warn about Rails 8.2 breakage: fixture loading on Postgres 18.4 and later acquires more locks, and with Herb, HTML tags must now close in the branch that opens them. For current main, pull request 59725 restores serving top-level…

What's next to watch: the time zone validation and memory fixes…

Nearby episodes from Rails Daily

  1. Security Hardening and Query Fixes
  2. Silent Query Fixes, Forgery Gaps, and Upgrade Safety
  3. Active Record Array Storage and Security Hardening Push
  4. Through-Association Loading Fixes
  5. Weekly Recap - Speed Gains and Data Fixes
  6. Silent Query Bugs and Leaked Secrets
  7. Ractor Connection Hardening and Button To Cleanup
  8. MessagePack Cache Fixes and Reliability Hardening