127 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-07-15
stories 19

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

RAILS REWIRES VIEW HELPERS, POSTGRES 18.4 GETS SHARPER FOREIGN KEY TESTS

By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology

Rails is reorganizing its view layer with a new NavigationHelper module, while PostgreSQL 18.4 users lose their superuser dependency for foreign key validation.

The Rails core team split `button_to` and `link_to` into a dedicated `ActionView::Helpers::NavigationHelper` [1], moving related private methods alongside them to keep the view helper architecture cleaner as the framework grows. This is organizational debt paid down before it compounds. In parallel, Rails dropped a significant quality-of-life improvement for PostgreSQL 18.4+ environments: `check_all_foreign_keys_valid!` now toggles constraints with `NOT ENFORCED` instead of requiring superuser privileges to revalidate [2]. That's the kind of friction elimination that saves ops teams hours of permission wrangling. On the sharding front, Rails tightened `connected_to_all_shards` to raise an error when shard_keys are empty, preventing silent failures in apps that aren't actually sharded yet [3]. The devcontainer releases rolled through routine Ruby 4.0.6 updates . Over in rails-html-sanitizer, the team hardened GitHub Actions workflows against supply chain attacks with SHA pinning and continuous linting [5], while also adjusting data URI tests for loofah 2.25.2's WHATWG compliance [4].

Action items

References

  1. [1] Introduce `ActionView::Helper::NavigationHelper` ↗ rails/rails
  2. [2] Use NOT ENFORCED toggle in check_all_foreign_keys_valid! on PostgreSQL 18.4+ ↗ rails/rails
  3. [3] Raise for empty shards on `connected_to_all_shards` ↗ rails/rails
  4. [4] Adjust `data:` URI mediatype tests for loofah 2.25.2 ↗ rails/rails-html-sanitizer
  5. [5] Harden GitHub Actions workflows ↗ rails/rails-html-sanitizer

Quick answers

What shipped in Rails on July 15, 2026?
Rails is reorganizing its view layer with a new NavigationHelper module, while PostgreSQL 18.4 users lose their superuser dependency for foreign key validation. In total, 10 commits, 6 pull requests, and 3 releases landed.
Who contributed to Rails on July 15, 2026?
6 developers shipped this update, including seanpdoyle, yahonda, eileencodes, Hartley McGuire, rafaelfranca, and flavorjones.
What were the notable Rails updates?
Introduce `ActionView::Helper::NavigationHelper`, Use NOT ENFORCED toggle in check_all_foreign_keys_valid! on PostgreSQL 18.4+, and Raise for empty shards on `connected_to_all_shards`.