Ruby on Rails: Testing Gets Around Hooks and Developer Quality of Life Wins

Rails had a productive day with 16 merged pull requests focusing on developer experience improvements. The standout addition is ActiveSupport::TestCase.around hooks, finally bringing this long-requested testing feature to Rails. Other highlights include better error details for uniqueness validations, ActiveJob attributes for multi-step workflows, and several thoughtful generator improvements.

Duration: PT3M59S

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-06T10:03:57Z
  • Audio duration: PT3M59S

Transcript excerpt

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

Hey there, Rails developers! Welcome back to another episode of the Ruby on Rails podcast. I'm your host, and wow, do we have some exciting updates to dive into today. May 6th brought us a fantastic collection of changes that really show the Rails team's commitment to making our lives as developers just a little bit…

Let's jump right into the big news. Sean Doyle delivered something the community has been asking for literally for years - around hooks in ActiveSupport::TestCase! If you've ever found yourself in those heated discussions about testing frameworks, you know that the lack of around hooks was often the thing that…

But that's just the beginning of our testing and quality of life improvements. We got a really nice enhancement to uniqueness validations that I think you're going to love. When a validates_uniqueness_of check fails, you now get the conflicting record's ID in the error details. This is huge for API development -…

Speaking of thoughtful improvements, the ActiveJob team introduced ActiveJob::Attributes for persisting data between job steps. If you've ever built multi-step background jobs and found yourself awkwardly storing temporary data just to pass it along,…

The…

Nearby episodes from Ruby on Rails

  1. Code Quality and Test Infrastructure Updates
  2. Active Storage API Support and Transaction Fixes
  3. Cache Improvements and Ractor Safety Updates
  4. Image Analysis Fixes and New Form Helpers
  5. Testing Enhancements and Generator Improvements
  6. Performance Optimization and Cache Store Fixes
  7. Weekly Recap - Performance Optimizations & Developer Experience
  8. ActiveStorage JSON Fix and Minor Updates