The Wire · Showcase
RAILS ADDS DEFAULT ORDER FOR RELATIONS, PREPS RACTOR SUPPORT
By RepoJournal · Filed · About Rails
Rails is shipping two major feature expansions while simultaneously rearchitecting Action Cable to become a pluggable abstraction layer.
The headline feature is `#default_order`, which extends implicit ordering from single columns to full scopes and relations [1]. This closes a long-standing gap: you can now declare `has_many :comments, default_order: :likes` and skip the `order()` call on every query. It's a small syntax win that compounds across large codebases. In parallel, Rails is laying the groundwork for Ractor support by shipping shims for `Ractor.make_shareable` and related methods [2], eliminating the need to litter the codebase with version checks when the framework starts calling these internally. The bigger architectural shift is Action Cable's server adapterization [3], which decouples high-level Channel and Connection abstractions from WebSocket and concurrency details. This unblocks alternative servers and execution models (Fibers, etc.) without monkey-patching. Solid Cable already has a PR ready to adapt to the new architecture [6]. Security-wise, Rails fixed documentation for `fixed_length_secure_compare` [4] and Action Mailbox now rejects malformed raw email parameters [5]. Over in execjs, CI now runs with read-only token permissions, following least-privilege principles [7].
Action items
- → Review the new default_order syntax for existing has_many declarations - this is a drop-in replacement for inline order() calls rails/rails [plan]
- → If you use Solid Cable, merge the adapterization adapter update before upgrading to Rails 8.2 rails/solid_cable [plan]
- → Check Action Mailbox handlers if you accept raw email uploads - the malformed param rejection may affect edge cases rails/rails [monitor]
References
- [1] Add support for default order ↗ rails/rails
- [2] Add shims for Ractor shareability methods ↗ rails/rails
- [3] Action Cable server adapterization ↗ rails/rails
- [4] Merge pull request #57496 from Shopify/fix-security-utils-docs rails/rails
- [5] Fix #57494: Reject malformed Action Mailbox raw email params rails/rails
- [6] Update adapter to handle ActionCable adapterization in 8.2 (#80) rails/solid_cable
- [7] ci: scope workflow token to read-only ↗ rails/execjs
FAQ
- What changed in Rails on May 29, 2026?
- Rails is shipping two major feature expansions while simultaneously rearchitecting Action Cable to become a pluggable abstraction layer.
- What should Rails teams do about it?
- Review the new default_order syntax for existing has_many declarations - this is a drop-in replacement for inline order() calls • If you use Solid Cable, merge the adapterization adapter update before upgrading to Rails 8.2 • Check Action Mailbox handlers if you accept raw email uploads - the malformed param rejection may affect edge cases
- Which Rails repositories shipped on May 29, 2026?
- rails/rails, rails/solid_cable, rails/execjs