Ruby on Rails: Speed Sweep and Query Fixes
Rails merged a wave of request-cycle performance cuts and Active Record query corrections on October 20th. The dominant pattern is removing repeated allocation and lookup work, plus modernizing SQLite column renames.
Duration: PT2M29S
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-10-20T13:28:59Z
- 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.
Good morning, it's Tuesday, October 20th, 2026, and this is your Ruby on Rails briefing.
The lead signal today is speed through subtraction — a coordinated push to stop doing the same work multiple times per request, paired with a tight cluster of query-builder correctness fixes.
First, the request hot path. In PR 59197, contributors key the cross-site request forgery token HMAC once per request instead of rebuilding it for every form, cutting about 5.8 percent off an index page with a button per row. Related work in PR 59025 memoizes the controller class lookup, which was happening four…
Second, querying. PR 59207 fixes in order of returning no records when values change on second serialization, which broke deterministic encryption, JSON columns and custom types. That pairs with PR 57975 for custom attributes and C-T-Es. On the where clause side, PRs 59208, 59210 and 59205 rework how referenced…
Third, SQLite. PR 59204 switches column rename to the native rename column command instead of rebuilding the table, fixing stale names in indexes and constraints, with PR 59209 removing the now unused rename plumbing.
What's next: watch for behavior changes around read-only attribute…
Nearby episodes from Ruby on Rails
- Rails 9 Deprecations and Concurrency Hardening
- Hot-Path Allocations and Collection Rendering Fixes
- Ractor Safety and Active Record Core Cleanup
- Association Correctness and Allocation Cuts
- Per-Request Allocation Cuts and Job Concurrency Fixes
- Active Record Speed and Query Fixes
- Connection Reliability and Hot-Path Performance
- Composite Key Fixes and Test Resilience