RepoJournal
Rails

@rails

Ruby on Rails - Shopify, Basecamp, GitHub all run on it

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Ruby Full archive →

The Wire · Showcase

RAILS SHIPS AROUND HOOKS AND JOB STATE PERSISTENCE IN TESTING AND BACKGROUND WORK OVERHAUL

By RepoJournal · Filed · About Rails

ActiveSupport finally closes the testing framework gap with native around hooks [ref:1], while ActiveJob gains a first-class way to pass data between steps without touching your models [ref:2].

The around hooks addition [1] addresses a long-standing pain point: Minitest won't build this natively, and the absence of around support has pushed teams toward alternative test harnesses when evaluating Rails for new projects. ActiveSupport's callback system makes implementation straightforward, and this lands as a major usability win for test organization. Meanwhile, ActiveJob::Attributes [2] solves a real operational problem—multi-step jobs that need to hold intermediate data between steps without persisting to Active Record. This is how you avoid the serialize/deserialize override dance teams have been doing in job-iteration. On the maintenance side, Rails moved kamal into the development group [3], keeping deploy tooling out of production bundles and cleaning up duplicate gem declarations. Uniqueness validation errors now return the conflicting record's ID in error details [4], giving you actionable debugging information without an extra query.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Introduce `ActiveSupport::TestCase.around` ↗ rails/rails
  2. [2] Add `ActiveJob::Attributes` to persist data between steps ↗ rails/rails
  3. [3] Move generated kamal gem into development group rails/rails
  4. [4] Merge pull request #55826 from bvicenzo/bv-uniquiness-validation-returning-existing-id rails/rails

Quick answers

What shipped in Rails on May 6, 2026?
ActiveSupport finally closes the testing framework gap with native around hooks [ref:1], while ActiveJob gains a first-class way to pass data between steps without touching your models [ref:2]. In total, 25 commits and 16 pull requests landed.
Who contributed to Rails on May 6, 2026?
2 developers shipped this update, including seanpdoyle and bdewater-thatch.
What were the notable Rails updates?
Introduce `ActiveSupport::TestCase.around`, Add `ActiveJob::Attributes` to persist data between steps, and Move generated kamal gem into development group.

More from @rails

Daily updates, in your inbox

Follow Rails

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?