Rails Daily: View Reloader and Testing Fixes
Two pull requests were merged today addressing ActionView's view reloader optimization and test compatibility issues with Minitest. The changes improve performance when no view paths are registered and fix assertion methods for objects that override nil behavior.
Duration: PT1M35S
Episode overview
This episode is a short developer briefing from Rails Daily.
It explains recent repository work in plain language.
- Show: Rails Daily
- Published: 2026-05-01T00:00:00Z
- Audio duration: PT1M35S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is Rails Daily for May 1st, 2026.
Two pull requests were merged into Rails today, focusing on performance optimization and test compatibility.
Korri merged a ViewReloader optimization that defers building the file watcher when no view paths are registered. This follows up on previous work to avoid unnecessary file system monitoring. The change modifies ActionView's cache expiry mechanism to prevent creating empty FileUpdateCheckers, which were being built…
Mugitti9 merged a fix for test assertions when dealing with unknown request formats. The issue arose from a change in Minitest that modified how assert_nil compares objects. Previously, Rails tests used assert_nil to verify unknown formats, but request.format actually returns a Mime::NullType object, not nil. The…
Both changes include updates to ActionPack and ActionText test suites to ensure compatibility with the latest Minitest version.
What's next: These changes improve Rails' compatibility with updated testing frameworks and optimize view reloading performance. Developers using custom view paths or working with request format handling should see these improvements in the next Rails release.
Nearby episodes from Rails Daily
- Testing Enhancements and Generator Improvements
- Performance and Error Handling Improvements
- Weekly Recap - Performance Optimizations & Developer Experience
- ActiveStorage JSON Fix and Minor Updates
- ActiveRecord Persistence Fix
- String Literals and Routing Fixes
- Weekly Recap - Database Support & Performance Optimizations
- ActiveRecord Query Optimizations and Frozen Strings