Rails Daily: Association Fixes and Pool Leaks

Active Record tightened association scoping and query binding while dropping legacy marshal support, and two proposals address connection pool leaks. Action Cable test fixes and Postgres index work round out a reliability-focused day.

Duration: PT2M12S

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-18T06:02:41Z
  • Audio duration: PT2M12S

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 November 18th, 2026.

Today's biggest signal is reliability: Active Record is tightening association queries, and the connection pool is closing leaks that could starve small pools.

First, association scoping. PR 59836 adds a configuration flag to keep owner conditions on associations, following up a recent change that locked in key conditions. That earlier fix broke a common pattern where developers deliberately unscope a foreign key to match on either sender or recipient. Without the flag,…

Second, connection pool capacity. Two proposals from the same author tackle pools staying short a connection. PR 59843 removes a reaped connection when its reset fails, instead of leaving it checked out to a request or job thread. PR 59844 preserves leases across a disconnect during checkout, so a waiting thread…

Finally, test stability and schema work. Four fixes address Action Cable socket tests after version 0.9 of the websocket driver caused failures and hangs, including backports to 8-1 stable and order-dependent failures on older Ruby versions. On Postgres, PR 59840 proposes storage parameters for indexes, like…

What's next: watch whether the new association flag becomes…

Nearby episodes from Rails Daily

  1. Parity Fixes, Constraint Handling, and Memory Win
  2. Write Blocks, Upload Fixes, and Security Guide Rewrite
  3. Multipart Security Patch and Connection Pool Fixes
  4. Quiet Data Fixes and Thread Safety
  5. Association Integrity Fixes and Postgres Schema Cleanup
  6. Weekly Recap - Active Record Correctness and Performance
  7. Nested Through Preload Scope Fixes
  8. Hot-Path Performance and Isolation Fixes