Ruby on Rails: Redis Migration and Composite Key Fixes

Rails is migrating core Redis infrastructure to the redis-client library while fixing multiple composite primary key bugs that were causing silent data loss and crashes.

Duration: PT2M20S

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-06-02T13:14:44Z
  • Audio duration: PT2M20S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is your Rails developer briefing for June 2nd, 2026.

The framework is undergoing a significant Redis infrastructure modernization while addressing serious composite primary key reliability issues that have been silently breaking applications.

The biggest architectural change is Rails' migration from the Redis gem to redis-client across core components. Pull request 57004 reimplements the Redis cache store, followed by PR 57533 updating Action Cable's Redis adapter. This shift reduces dependency size and simplifies the subscription API, though it…

Meanwhile, a cluster of composite primary key fixes addresses critical data integrity issues. PR 57530 fixes the find method silently returning empty arrays when composite key components are passed as strings - the typical format from request parameters or JSON. PR 57531 resolves similar string handling problems in…

Additional reliability improvements include PR 57532 fixing grouped calculations on belongs-to associations with composite keys, and PR 57439 resolving PostgreSQL range column schema dumps that generated invalid Ruby syntax.

On the Active Storage front, PR 57403 updates compatibility for ImageProcessing 2.0,…

Nearby episodes from Ruby on Rails

  1. Data Integrity and Edge Case Fixes
  2. Database Reliability and Testing Fixes
  3. Schema and Data Handling Fixes
  4. Bug Fixes and Test Coverage Expansion
  5. Edge Case and Parser Fixes
  6. Weekly Recap - PostgreSQL Fixes & Framework Reliability
  7. Database Connection Pool Deadlock Fix
  8. Security Hardening and Performance Fixes