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 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.

One email a day. Unsubscribe in one click.

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

Quick answers

What shipped 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. In total, 7 commits, 5 pull requests, and 1 releases landed.
Who contributed to Rails on June 18, 2026?
4 developers shipped this update, including viralpraxis, andrewn617, skipkayhil, and jordan-brough.
What were the notable Rails updates?
Merge pull request #57758 from viralpraxis/fix-in-order-of-raising-on-cte, Fix `in_order_of` raising on CTEs, and Make AbstractController::Helper.helper_method ractor safe.

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.