Ruby on Rails: PostgreSQL Performance Enhancements and Database Optimizations
Rails merged 15 pull requests focused on PostgreSQL improvements, including virtual column reloading via RETURNING clauses and new RETURNING statement support for INSERT/UPDATE/DELETE operations. Additional updates include ActiveStorage attach! method, strict loading fixes, and optimistic locking improvements.
Duration: PT1S
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-05-15T10:04:45Z
- Audio duration: PT1S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, I'm your host with the Ruby on Rails developer briefing for May 15th, 2026.
The Rails team merged 15 significant pull requests yesterday, with PostgreSQL performance taking center stage. Andrew Baldwin merged PostgreSQL reload virtual columns on update via RETURNING clause, eliminating extra database round trips by issuing single UPDATE queries with RETURNING clauses for virtual column…
Benedikt merged foundational RETURNING statement support for INSERT, UPDATE, and DELETE operations in Arel, enabling queries that modify and return data in a single operation. Sean Doyle updated Action Text to properly dispatch Active Storage events with required id and file properties, fixing missing direct upload…
Several quality-of-life improvements landed: Quentin Demetz implemented the long-requested attach! method for ActiveStorage, providing the bang counterpart to attach for validation enforcement. Alexandre Camillo added array syntax support for expression indexes in add_index, allowing cleaner syntax like…
Performance optimizations include a fix for Hash and Array values during insert_all operations, delivering 1.8x speed improvements for serialized columns. The team also…
Additi…
Nearby episodes from Ruby on Rails
- Bug Fixes and Documentation Updates
- Job Method Enhancement
- Weekly Recap - Database Performance & Developer Experience
- Two Major Reverts
- Documentation and Code Cleanup
- Rendering System Updates and Developer Experience Improvements
- Rendering Improvements and Active Storage Fix
- Security Fixes and Format Freezing Reverts