Rails Daily: Testing Enhancements and Generator Improvements

Rails merged 16 pull requests on May 5th, 2026, introducing ActiveSupport::TestCase.around hooks, ActiveJob::Attributes for multi-step jobs, and fixes for Kamal gem placement and ActiveStorage JSON serialization.

Duration: PT2M15S

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-05-05T00:00:00Z
  • Audio duration: PT2M15S

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 Rails Daily for May 5th, 2026.

Sean Doyle merged a significant testing enhancement, introducing ActiveSupport::TestCase.around hooks. This addresses a long-standing gap where developers often chose alternative test frameworks specifically for around hook support. The implementation uses Active Support's callback system rather than minitest-hooks.

The same contributor also merged support for nested hash attributes in tag builders, enabling dasherized HTML attributes for frameworks like Alpine.js and htmx. This allows syntax like `tag.button "POST", hx: { post: "/clicked", swap: :outerHTML }`.

From Thatch Health, bdewater-thatch merged ActiveJob::Attributes, a new module for persisting intermediate data between job steps without requiring long-term database storage. This solves a common problem in multi-step background jobs.

Several important fixes landed today. Jay Kava moved the generated Kamal gem into the development group, preventing it from being bundled in production. Onyxblade fixed a SystemStackError in ActiveStorage when has_one_attached names shadow model attributes. And afurm restored ActionMailer::Base.mail dispatch…

The authentication generator now…

Nearby episodes from Rails Daily

  1. API-Only Support and Security Fixes
  2. Cache Enhancements and Ractor Safety
  3. Image Analysis Fixes and Form Helpers
  4. Deployment Tools and Testing Enhancements
  5. Performance and Error Handling Improvements
  6. Weekly Recap - Performance Optimizations & Developer Experience
  7. ActiveStorage JSON Fix and Minor Updates
  8. View Reloader and Testing Fixes