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-08-03
stories 23

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

RAILS RESTORES ALIAS_ATTRIBUTE IN ASSOCIATIONS, FIXES SILENT FAILURES

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

A performance optimization from Rails 4.2 has been quietly breaking alias_attribute in associations for years, and it's finally fixed.

Rails patched a critical regression where alias_attribute on foreign keys and primary keys was silently ignored during association reads [1]. The culprit: a 2012 switch from the public read_attribute method to an internal _read_attribute fast path that skipped alias resolution entirely. Production apps worked around it without knowing the feature was broken.

Beyond that fix, Rails cleaned up MySQL migration internals by consolidating ALGORITHM and LOCK clauses into a single MySQL::AlterTable state [2], eliminating duplication across add_column, change_column, rename_column, and remove_column. The framework is also deprecating CommandRecorder#record and #inverse_of [3], moving away from Ruby's ruby2_keywords mechanism as that flag itself heads toward deprecation. ActionController::Parameters#deep_transform_keys! now transforms keys in place [4].

On the tooling side, tailwindcss-rails bumped GitHub Actions dependencies [5], a routine maintenance task that keeps CI pipelines current.

Action items

References

  1. [1] Restore `alias_attribute` support in associations ↗ rails/rails
  2. [2] Consolidate MySQL `ALGORITHM` / `LOCK` into `MySQL::AlterTable` state ↗ rails/rails
  3. [3] Make `CommandRecorder#record` and `#inverse_of` private ↗ rails/rails
  4. [4] Merge pull request #58340 from 55728/remove-unused-deep-transform-keys-bang ↗ rails/rails
  5. [5] build(deps): bump the github-actions group with 3 updates ↗ rails/tailwindcss-rails

Quick answers

What shipped in Rails on August 3, 2026?
A performance optimization from Rails 4.2 has been quietly breaking alias_attribute in associations for years, and it's finally fixed. In total, 15 commits and 8 pull requests landed.
Who contributed to Rails on August 3, 2026?
2 developers shipped this update, including kamipo and dependabot.
What were the notable Rails updates?
Restore `alias_attribute` support in associations, Consolidate MySQL `ALGORITHM` / `LOCK` into `MySQL::AlterTable` state, and Make `CommandRecorder#record` and `#inverse_of` private.