Ruby on Rails: Composite Primary Key Fixes and Safety Improvements
Rails development on June 11th focused heavily on composite primary key compatibility, with seven merged fixes addressing critical gaps in find, delete, associations, and counting operations. Additional improvements targeted memory safety, parameter filtering, and preventing method mutations.
Duration: PT2M30S
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-11T13:14:12Z
- Audio duration: PT2M30S
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 development briefing for June 11th, 2026.
The dominant theme across today's activity is composite primary key compatibility. Seven separate pull requests addressed fundamental gaps where composite keys failed in operations that worked fine with single primary keys.
The most critical fixes target core Active Record operations. PR 57657 and 57655 resolved issues where the class-level delete and update methods would raise errors when given a composite primary key ID, despite their documented twins like destroy accepting the same input. PR 57649 fixed find with an empty array,…
Association handling also saw major repairs. PR 57651 fixed a parity break where has-many and has-one associations on new records would return empty results instead of querying properly when the owner had composite primary keys. PR 57654 resolved similar issues in nested attributes for one-to-one associations, and…
Beyond composite keys, several fixes addressed safety and reliability concerns. PR 57594 plugged a scope leakage bug in model reloading that could contaminate all-queries lookups. PR 57659 fixed encrypted parameter filtering that wasn't working for subclasses and nested…
T…
Nearby episodes from Ruby on Rails
- Weekly Recap - Stability and Developer Experience
- Edge Case and Stability Fixes
- ActionCable Reliability and Testing Fixes
- Ractor Safety Push and Composite Key Fixes
- Number Helper Fixes and Threading Improvements
- Ractor Safety and Edge Case Fixes
- Edge Case Bug Fixes
- Weekly Recap - Redis Infrastructure & Data Model Fixes