JavaScript Tooling and Developer Experience Week
Rails improved JavaScript package manager detection and fixed several console and caching issues. The week focused on better developer tooling and resolving compatibility problems with newer Ruby versions.
Duration: PT2M15S
Transcript
Good morning, I'm your host with Rails Daily for the week of January 18th through 25th, 2026.
23 PRs merged, 21 additional commits this week.
**Features**
The biggest change this week was automatic JavaScript package manager detection in Rails generators. Previously, generators hardcoded yarn, but now Rails detects whether you're using npm, pnpm, or bun by reading your lockfiles. This affects ActionCable channel generators and ActionText installation. A follow-up PR added support for bun's text-based lockfile format.
Rails console behavior changed significantly - query caching is now disabled by default. You can re-enable it with the --query-cache flag, addressing issues that emerged from recent console improvements.
**Fixes**
Several database-related fixes landed. ActiveRecord now properly handles insert_all! operations on tables with composite primary keys, skipping unnecessary unique index lookups. Connection validity checks were improved to prefer the connected? method for better reliability.
MemCacheStore received a fix to explicitly use Marshal serialization with Dalli clients, preventing unwanted warnings about auto-selecting serializers.
ActiveSupport's inflector got a fix for overlapping acronyms that previously had order dependency issues in underscore conversion.
**Infrastructure and Maintenance**
Ruby 4.1 compatibility was addressed with fixes for stabby lambda handling in Proc source location detection. This fix was backported to both 8-0-stable and 8-1-stable branches.
GitHub Actions received updates across multiple workflows, moving to newer versions of setup-node and stale action handlers.
The development team also cleaned up documentation with typo fixes across six guide files and updated Docker test fixtures to use Ruby 3.3.
**Additional Commits**
Notable additional work included adding explicit block parameters to ActionController methods for better static analysis tool compatibility, and updates to ActiveJob continuation documentation with practical code examples.
Next week's activity will likely focus on addressing any fallout from the console query cache changes and continued JavaScript tooling refinements.
That's Rails Daily for this week - I'm your host, we'll see you next week.