Ruby on Rails: Performance Sweep, Query Fixes and Security Hardening
Rails saw a broad performance sweep cutting per-request allocations, paired with Active Record query correctness fixes and several security hardening commits. The pattern is faster hot paths with no API changes, plus safer defaults developers should pull quickly.
Duration: PT2M37S
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-11-04T14:14:01Z
- Audio duration: PT2M37S
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 Wednesday, November 4th, 2026, and this is your Ruby on Rails briefing.
The dominant pattern is small allocation cuts adding up to faster requests, alongside query correctness fixes and quiet security hardening.
First, performance. More than a dozen merged changes strip per-request overhead in hot paths. As evidence, PR 59596 freezes cached query S Q L once instead of copying it on every find, and PR 59603 reorders view tag checks to test for strings first, which covers more than ninety percent of real values. The largest…
Second, Active Record correctness. PR 59580 fixes merge dropping the recursive flag from common table expressions, so merged recursive queries now generate valid S Q L instead of silently losing recursion. Related work cleans up ordering and with-clause merging, including PR 59586 fixing custom ordering that mutated…
Finally, security and compatibility. Commit 7723e49 extends same-site cookie protection from the cookie store to every session store, closing a session cookie gap. Commit ce88576 fixes strip tags to encode quotes in its safe output, and related fixes tighten tag attributes and reject future-dated mail ingress…
What's next: watch open…
Nearby episodes from Ruby on Rails
- Ractor Connection Hardening, Button To Cleanup, Integer Fix
- Active Record Reliability and Guides Cleanup
- Serialization Speedups and Ractor Hardening
- Query Regressions Fixed and Hot-Path Cleanup
- Allocation Cuts and Cache Consistency Fixes
- Default Order Fixes and Security Hardening
- Weekly Recap - Ordering Correctness, Inheritance Propagation, and Performance Trims
- Preloading Correctness, Inheritance Fixes and Hot-Path Cuts