RepoJournal
Rails

@rails

Ruby on Rails — Shopify, Basecamp, GitHub all run on it

Pick a date

The Wire · Showcase

RAILS FIXES CTE ORDERING BUG, TAILWIND TAMES ORPHANED PROCESSES

By RepoJournal · Filed · About Rails

Rails patched a `in_order_of` crash when querying Common Table Expressions, while tailwindcss-rails 4.6.0 finally kills zombie watchers that plague foreman-based development.

The Rails team merged a fix [1] for `in_order_of` raising `NoMethodError` when column names can't be resolved in CTEs. The issue stems from `order_column` returning an `Arel::Nodes::SqlLiteral` that lacks type information, so the query builder tried to type-cast something that doesn't exist. The solution skips type casting for CTE columns where type info isn't available anyway [2]. This is a surgical fix for anyone using modern Rails query patterns with window functions and temporary result sets. Separately, Rails hardened the helper method system for Ractor safety [3], following the same dup-add-freeze-reassign pattern established in recent concurrency work. The framework also stripped unnecessary complexity from content string handling [4], removing a nil interpolation workaround now optimized away in Ruby 3.1. Over in the asset pipeline, tailwindcss-rails 4.6.0 [5] shipped with signal forwarding for the watch task [6], eliminating the orphaned `tailwindcss` CLI processes that plague foreman users. When foreman sends SIGTERM to the watch task, it now traps INT and TERM, forwards them to the spawned child, and waits for cleanup instead of abandoning zombie processes. This is the fix for anyone who's had to manually kill tailwindcss watchers mid-development.

Action items

References

  1. [1] Merge pull request #57758 from viralpraxis/fix-in-order-of-raising-on-cte rails/rails
  2. [2] Fix `in_order_of` raising on CTEs ↗ rails/rails
  3. [3] Make AbstractController::Helper.helper_method ractor safe ↗ rails/rails
  4. [4] Simplify PRE_CONTENT_STRING hash ↗ rails/rails
  5. [5] v4.6.0 ↗ rails/tailwindcss-rails
  6. [6] Forward stop signals to tailwindcss watcher ↗ rails/tailwindcss-rails

FAQ

What changed in Rails on June 18, 2026?
Rails patched a `in_order_of` crash when querying Common Table Expressions, while tailwindcss-rails 4.6.0 finally kills zombie watchers that plague foreman-based development.
What should Rails teams do about it?
Upgrade rails to pick up in_order_of CTE fix if you use complex queries with temporary result sets • Update tailwindcss-rails to 4.6.0 if you use foreman in development to stop orphaned watchers • Monitor Rails main for Ractor safety improvements as concurrency patterns stabilize
Which Rails repositories shipped on June 18, 2026?
rails/rails, rails/tailwindcss-rails

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.