The Wire · Showcase
RAILS FIXES TEMPLATING VALIDATION BUGS AND ASSOCIATION SCOPING ISSUES
By RepoJournal · Filed · About Rails
Rails core shipped fixes for HTML-aware ERB compiler failures and has_many :through association scoping problems that were breaking strict template validation.
The templating fixes [1] address long-standing issues in bundled error templates that fail under Herb's strict HTML5 validation. A stray closing tag in the routing error template dating back to 2013, malformed nesting in action mailbox templates, and SendGrid envelope handling all now pass validation [2]. On the ORM side, association unscope now qualifies values with table names [3], letting has_many :through associations properly respect default scopes on join models without collision. The tailwindcss-rails CI pipeline got fixed to play nice with Dependabot [4] after zizmor validation comments blocked automated updates [5]. Rails website picked up Mike Dalessio as a committer [6] and improved changelog entries by expanding linked PR references [7].
Action items
- → Update to latest Rails for has_many :through scope fixes if you use join model defaults rails/rails [plan]
- → Review bundled error templates if running Herb strict validation rails/rails [monitor]
- → No immediate action needed on tailwindcss-rails CI updates rails/tailwindcss-rails [monitor]
References
- [1] Fix HTML-aware ERB compiler errors in bundled templates rails/rails
- [2] Fix #57334: Handle malformed SendGrid envelopes rails/rails
- [3] Qualify association unscope values with table names rails/rails
- [4] ci: update ignore comment to work with dependabot ↗ rails/tailwindcss-rails
- [5] build(deps): bump the github-actions group across 1 directory with 2 updates ↗ rails/tailwindcss-rails
- [6] Add Mike Dalessio to committers rails/website
- [7] Improve entries by expanding linked PRs ↗ rails/website
FAQ
- What changed in Rails on May 24, 2026?
- Rails core shipped fixes for HTML-aware ERB compiler failures and has_many :through association scoping problems that were breaking strict template validation.
- What should Rails teams do about it?
- Update to latest Rails for has_many :through scope fixes if you use join model defaults • Review bundled error templates if running Herb strict validation • No immediate action needed on tailwindcss-rails CI updates
- Which Rails repositories shipped on May 24, 2026?
- rails/rails, rails/tailwindcss-rails, rails/website