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 LOCKS DOWN INFLECTION RULES, CEMENTS RACTOR SAFETY

By RepoJournal · Filed · About Rails

Rails is freezing inflection rules after boot, closing a mutation vector that could introduce hard-to-trace bugs and clearing the path to Ractor compatibility across the framework.

The inflection freeze [1] is the heavy lift this cycle. Rails now prevents mutations to inflection rules post-boot, eliminating a non-deterministic codepath that could silently change how the framework converts between table names, class names, and constants. This fixes a real foot-gun: someone mutating inflections in a callback or initializer would create bugs that surface randomly in tests but not production, or vice versa. The patch also unblocks Ractor safety by removing a mutex interaction that would have blocked multi-threaded execution. Related, ActionView's LookupContext is now initialized early [2], avoiding mutex contention when enable_reloading is false and clearing another Ractor blocker. On the routing front, Rails fixed a trailing-slash edge case [3] where blank paths with query parameters were getting mangled. The permissions policy system now correctly applies source mappings to dynamic sources [4], addressing a gap in CSP handling. These are surgical fixes across core systems that improve determinism and threading safety without breaking existing code.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Freeze the inflection rules after the app boots ↗ rails/rails
  2. [2] Initialize ActionView::LookupContext.view_context_class early ↗ rails/rails
  3. [3] Merge pull request #57938 from 55728/fix-path-for-trailing-slash-frozen rails/rails
  4. [4] Merge pull request #57939 from 55728/fix-permissions-policy-dynamic-source-mappings rails/rails

Quick answers

What shipped in Rails on July 2, 2026?
Rails is freezing inflection rules after boot, closing a mutation vector that could introduce hard-to-trace bugs and clearing the path to Ractor compatibility across the framework. In total, 11 commits and 8 pull requests landed.
Who contributed to Rails on July 2, 2026?
2 developers shipped this update, including Edouard-chin and etiennebarrie.
What were the notable Rails updates?
Freeze the inflection rules after the app boots, Initialize ActionView::LookupContext.view_context_class early, and Merge pull request #57938 from 55728/fix-path-for-trailing-slash-frozen.

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.