Rails Daily: ActiveStorage JSON Fix and Minor Updates

Rails patched a critical infinite recursion bug in ActiveStorage's JSON serialization and merged several minor fixes including typo corrections and improved error handling.

Duration: PT1M26S

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-02T00:00:00Z
  • Audio duration: PT1M26S

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 2nd, 2026.

Jack Bowlin merged a small cleanup fixing typos in test descriptions across ActiveStorage and ActiveSupport. The pull request corrected "reqiure" to "require" and "explicity" to "explicitly" in test strings without changing functionality.

The more significant update came from a commit by merely, addressing a critical ActiveStorage bug. The team added explicit `as_json` methods to `ActiveStorage::Attached::One` and `Attached::Many` classes. Previously, these objects caused infinite recursion during JSON serialization when attachment columns shared…

Additional commits included Petrik improving MemCacheStore error handling by raising ArgumentError when created with Dalli::Client, aligning with existing deprecation removals. Jean Boussier also corrected a typo in the railties changelog.

What's next: Developers using ActiveStorage with custom JSON serialization should test their implementations with the new `as_json` behavior. Teams using MemCacheStore should verify their configuration doesn't pass Dalli::Client instances directly.

That's your Rails update for today.

Nearby episodes from Rails Daily

  1. Deployment Tools and Testing Enhancements
  2. Testing Enhancements and Generator Improvements
  3. Performance and Error Handling Improvements
  4. Weekly Recap - Performance Optimizations & Developer Experience
  5. View Reloader and Testing Fixes
  6. ActiveRecord Persistence Fix
  7. String Literals and Routing Fixes
  8. Weekly Recap - Database Support & Performance Optimizations