$ the-wire · showcase
MySQL optimizer hints stay put, tailwindcss-rails 4.7.0 fixes spaced paths
By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology
kamipo's fix keeps table-level MySQL optimizer hints on the subquery where their tables are visible, and tailwindcss-rails 4.7.0 makes install and upgrade survive gem paths containing spaces.
Keep query block scoped optimizer hints on the subquery for count on MySQL rails/rails
When a relation is wrapped in a subquery for count with limit, offset, or distinct, Rails used to hoist every optimizer hint to the outer query, where table-level hints like INDEX(posts idx) could not resolve and were silently dropped. Now only the global hints (MAX_EXECUTION_TIME, RESOURCE_GROUP, SET_VAR) move outward and the rest stay on the subquery, including when several hints share one st...
v4.7.0 rails/tailwindcss-rails
The release fixes tailwindcss:install and tailwindcss:upgrade when the gem lives under a path with spaces, such as a C:/Users/Jane Doe home directory or a path: gem in ~/My Projects. Bump to v4.7.0 if your setup hits that case; nothing else in the gem changed.
Fix tailwindcss:install and tailwindcss:upgrade when the gem path has spaces rails/tailwindcss-rails
The root cause was a single interpolated string passed to system, which ran through the shell so bin/rails received LOCATION=/Users/Jane and the rest of the path was split off. The fix keeps the install template path intact end to end.
ci: run Ruby 3.1 on ubuntu-24.04 (#649) rails/tailwindcss-rails
ubuntu-latest now resolves to ubuntu-26.04, where ruby/setup-ruby has no Ruby 3.1 build, so the 3.1 tests job failed with "Unavailable version 3.1.7 for ruby on ubuntu-26.04"; the matrix now pins Ruby 3.1 to ubuntu-24.04. CI only, no gem behavior change.
[RF Docs] Multiple Databases (#57747) rails/rails
Also in Rails this cycle: Xavier Noria removed Markdown RDoc directives from Action Mailbox and Action Cable, and Ridhwana updated the Multiple Databases guide on generated three-tier production configs and the still-unsupported load balancing of replicas.