Ruby on Rails: Cache Enhancements and Bug Fixes
Seven pull requests merged on May 19th, 2026, including HTTP cache improvements, Active Storage STI fixes, and documentation updates. Notable changes include new last_modified parameter for http_cache_forever and fixes for attachment handling in Single Table Inheritance.
Duration: PT1M57S
Transcript
Good morning. This is your Rails development briefing for May 19th, 2026.
Jean Boussier merged improvements to HTTP caching with a new optional last_modified parameter for http_cache_forever. The enhancement allows developers to specify a relevant timestamp instead of defaulting to January 1st, 2011, and has been implemented in Active Storage's ProxyController.
Fatkodima merged a fix for Active Storage attachment preservation when converting records using Single Table Inheritance. This resolves issue #45778 where attachment changes were lost during STI class conversions.
Tahsin352 merged a bug fix for the number_to_phone helper, correcting a false-positive in start_with_delimiter detection when phone numbers coincidentally begin with delimiter strings.
Joshua Young merged a Ruby 3.4 compatibility fix, adding proper block parameter handling to ReflectionProxy to eliminate strict_unused_block warnings.
Ayush Newatia merged substantial updates to the Rails on Rack guide, including improved documentation structure, new middleware stack information, and sections on custom middleware integration.
Nikita Fedyashev merged regression tests for ActiveRecord Migration's say and say_with_time methods, improving test coverage for these utility functions.
Byroot also merged performance optimizations using Ruby's anonymous splat operators in ActiveSupport string safety extensions.
What's next: Monitor Active Storage STI behavior in production environments and review HTTP caching implementations for potential last_modified optimizations.
That's your Rails briefing for today. Stay updated at rubyonrails.org.