Ruby on Rails: ActiveStorage JSON Fix and Minor Updates

A critical ActiveStorage serialization bug causing infinite recursion was fixed, along with minor typo corrections and cache store validation improvements.

Duration: PT1M24S

Episode overview

This episode is a short developer briefing from Ruby on Rails.

It explains recent repository work in plain language.

  • Show: Ruby on Rails
  • Published: 2026-05-02T00:00:00Z
  • Audio duration: PT1M24S

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 your Ruby on Rails briefing for May 2nd, 2026.

jackbowlin merged a pull request fixing typos in test descriptions across ActiveSupport and ActiveStorage modules. The changes corrected "reqiure" to "require" and "explicity" to "explicitly" in test names without affecting functionality.

The most significant update comes from merely, who fixed a critical bug in ActiveStorage's JSON serialization. The issue caused infinite recursion when calling `to_json` on records with attached files, particularly when attachment column names matched model attributes. The fix adds explicit `as_json` methods to both…

Additional commits include improvements to MemCacheStore validation by Petrik, which now properly raises ArgumentError when attempting to initialize with a Dalli::Client object, maintaining consistency with the existing error messaging. Jean Boussier also corrected a typo in the Railties changelog.

What's next: Watch for any follow-up issues related to the ActiveStorage JSON serialization changes, and monitor community feedback on the MemCacheStore validation updates.

That's your Rails update for today.

Nearby episodes from Ruby on Rails

  1. Testing Gets Around Hooks and Developer Quality of Life Wins
  2. Testing Enhancements and Generator Improvements
  3. Performance Optimization and Cache Store Fixes
  4. Weekly Recap - Performance Optimizations & Developer Experience
  5. View Performance and Test Compatibility Updates
  6. ActiveRecord becomes Method Enhancement
  7. Frozen Strings and Routing Fixes
  8. Weekly Recap - Performance & Bug Fixes