Rails Daily: Minimum Ruby Bump Unlocks Query Cache Work

Rails merged a minimum Ruby bump to 3.3.5 to work around a weak-map memory bug, with follow-up cleanups aimed at faster query-cache clearing. The rest of the activity brought targeted correctness fixes for forms, Postgres encryption, and event handling.

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-10-02T06: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 Friday, October 2nd, 2026 — you're listening to Rails Daily.

The top story is a platform floor moving up to unlock performance. Merged P-R 58908 raises the minimum Ruby to 3 point 3 point 5, because older Rubies have a use-after-free bug in the weak map implementation.

That bug forced Rails to limit its internal weak key map to keys like threads and fibers, using a restrictive workaround. The practical pain, flagged by Shopify engineers, was high CPU cost when clearing the query cache, which had to walk every connection pool. Lifting the floor removes that constraint. Related…

Second theme is quiet correctness fixes with direct user impact. P-R 58892 fixes collection radio buttons and check boxes where an empty string value produced an input I-D that didn't match its label, breaking accessibility and clicks. On Postgres, open P-R 58910 reports the encrypted attribute check always returns…

Finally, proposals to watch. Open P-R 58913 would freeze events from the event reporter so one subscriber can't mutate data seen by later subscribers or bypass filtering. Duplicate proposals P-R 58914 and 58915 would let Active Model attributes skip the public writer for…

Expect…

Nearby episodes from Rails Daily

  1. Dynamic Routes Removed, Ruby Floor Rising
  2. Logger Tag Fixes and Active Record Tuning
  3. Dynamic Routes Removed, Query Edge Cases Fixed
  4. Weekly Recap - Database Cleanup and Concurrency Groundwork
  5. Logging Fixes and Quiet Reliability Wins
  6. Cleaner Postgres Schema Dumps
  7. Postgres Schema Fixes and Guide Refresh
  8. Ractor Connections, Herb by Default, and Silent Query Fixes