Rails Daily: Allocation Cuts and Rails 9 Deprecations

Rails cut per-query and per-request allocations in Arel and MIME handling, while opening a wave of Rails 9 deprecations around SSL, cookies, Postgres and logging, plus MySQL and connection-pool hardening.

Duration: PT2M31S

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-10-19T06:01:39Z
  • Audio duration: PT2M31S

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 Monday, October 19th, 2026, and this is Rails Daily.

The signal this weekend is twofold: Rails is shaving objects off the hottest paths, while clearing old defaults for version 9.

First, death by a thousand allocations. Inspired by a Kaigi on Rails keynote, PR 59163 made Arel star a single shared frozen literal instead of building it on almost every query. Follow-ups PR 59165 and PR 59170 extended that to other constant SQL fragments like exists checks, count aliases, and distinct nodes. In…

Second, a coordinated deprecation push. PR 59180 would deprecate schema-qualified extension names like heroku-ext dot pg-crypto in favor of a separate schema option, clarifying that Postgres extensions aren't schema objects. PR 59178 and 59181 move the SSL middleware to a 308 redirect by default and deprecate the…

Finally, database hardening. PR 59172 stops connection checkouts from queuing behind stalled background maintenance, PR 59174 makes check-in to a discarded pool a no-op for Ractor stability, PR 59175 bumps minimum MySQL to 5.7.9 to drop old row format workarounds, and PR 59182 makes structure dumps reloadable when…

What's next: watch for warning noise after upgrading,…

Nearby episodes from Rails Daily

  1. Speed Cuts and Ractor Safety
  2. Weekly Recap - Performance Cuts and Association Fixes
  3. Collection Rendering Fixes, Ractor Safety, and Postgres Correctness
  4. Ractor Safety Push and Active Record Core Tightening
  5. Allocation Cuts and Association Fixes
  6. Request Fast Paths and Association Fixes
  7. Active Record Query Fixes and Request Overhead Cuts
  8. Resilience Fixes, Composite Keys, and Cache Speed