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

SOLID_QUEUE FIXES RAILS 8.1 CONNECTION CHECKOUT CLASH

By RepoJournal · Filed · About Rails

Solid Queue patched a critical incompatibility with Rails 8.1's permanent connection checkout mode that breaks the new DistinctValues module.

The issue surfaces when `config.active_record.permanent_connection_checkout = :disallowed` is set: bare calls to `connection` resolve to the deprecated ActiveRecord::Base.connection and raise errors [1]. Solid Queue's DistinctValues module, introduced recently, made those direct calls and broke under the stricter Rails 8.1 configuration [2]. The fix wraps connection access in `connection_pool.with_connection`, following the established pattern from prior work [1]. In parallel, Solid Queue gained `--only-recurring` to explicitly run just the recurring scheduler in isolation [3], replacing the empty workers/dispatchers workaround and mirroring the existing `--skip-recurring` option. Rails core cleaned up a Markdown doc check that clashed with Rubocop's formatting rules on frozen string literals [4], resolving a conflict between what the linter wanted and what the doc validator would accept [5].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Lease connections in DistinctValues instead of calling deprecated `connection` rails/solid_queue
  2. [2] Use with_connection in DistinctValues ↗ rails/solid_queue
  3. [3] Add --only-recurring to run just the recurring scheduler ↗ rails/solid_queue
  4. [4] Fix Markdown doc check rails/rails
  5. [5] Fix Markdown doc check ↗ rails/rails

Quick answers

What shipped in Rails on July 28, 2026?
Solid Queue patched a critical incompatibility with Rails 8.1's permanent connection checkout mode that breaks the new DistinctValues module. In total, 5 commits and 3 pull requests landed.
Who contributed to Rails on July 28, 2026?
4 developers shipped this update, including Mike Dalessio, Jeremy Daer, Trevor Turk, and rafael-pissardo.
What were the notable Rails updates?
Lease connections in DistinctValues instead of calling deprecated `connection`, Use with_connection in DistinctValues, and Add --only-recurring to run just the recurring scheduler.

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?