114 wires and counting

$ follow Rails

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

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-01
stories 21

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

Rails cuts redundant joins in through associations

By RepoJournal · Filed · About Rails

A new Rails commit avoids duplicate table joins in scoped `has_many :through` associations, cutting redundant SQL.

Rails now drops a redundant join from a scoped `has_many :through` association when the through chain already covers a `belongs_to` or `has_one` reflection, leaving collection joins intact because removing one changes the returned row count [1]. This addresses issue #51259 and results in leaner queries for common through scopes. Also, `ActiveRecord::Coders::JSON` no longer raises `NameError` when given encode options [2]. Encrypted fixtures for `json`/`jsonb` columns no longer serialize the payload twice, fixing `ActiveRecord::Encryption::Errors::Decryption` on read [3]. ActionView::Base now makes some settings shareable to Ractors, preparing for Ruby 4.0 support [4].

Quick answers

What shipped in Rails on September 1, 2026?
A new Rails commit avoids duplicate table joins in scoped `has_many :through` associations, cutting redundant SQL. In total, 15 commits and 6 pull requests landed.
Who contributed to Rails on September 1, 2026?
6 developers shipped this update, including David Paluy, Jean Boussier, carlosdanielpohlod, etiennebarrie, Vladimir Dementyev, and Amanda Perino.
What were the notable Rails updates?
Avoid a redundant join in scoped through associations, Merge pull request #58612 from lazerg/fix-json-coder-encode-options, and Fix encrypted fixtures for JSON columns.