RepoJournal
Rails

@rails

Ruby on Rails - Shopify, Basecamp, GitHub all run on it

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Ruby Full archive →

The Wire · Showcase

RAILS HARDENS MEDIA PROCESSING, KILLS UNBOUNDED CACHE

By RepoJournal · Filed · About Rails

Active Storage just got tighter controls over ffmpeg and ffprobe, while Rails core ripped out a problematic attribute cache that was breaking Ractor compatibility.

Rails merged a hardening patch [1] that lets you constrain ffmpeg and ffprobe input arguments, closing a gap in media-processing security. The catch: ffmpeg's flags are position-dependent, and the old config was inserting arguments after `-i`, breaking codec and protocol whitelists. This fix restores the ability to lock down your attack surface. In parallel, Rails removed the attribute_method_patterns_cache [2], an unbounded in-memory cache that sped up dynamic respond_to? checks but was incompatible with Ractors and could bloat indefinitely. The removal trades some dispatch speed for correctness, though follow-up work [3] has already restored performance for the common case with micro-optimizations. Over on solid_cable, Nick Pezza landed two polling optimizations [4] [5]: memoizing cable configuration and eliminating wasteful re-hashing of channel names on every poll cycle, storing hashed channels directly in the watching hash to bypass redundant computation.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Allow ffmpeg and ffprobe input arguments to be configured (#58461) rails/rails
  2. [2] Remove attribute_method_patterns_cache rails/rails
  3. [3] Restore performance for dynamic attribute read rails/rails
  4. [4] Use the channel hash directly instead of rehashing every poll ↗ rails/solid_cable
  5. [5] Memoize cable configuration ↗ rails/solid_cable

Quick answers

What shipped in Rails on August 13, 2026?
Active Storage just got tighter controls over ffmpeg and ffprobe, while Rails core ripped out a problematic attribute cache that was breaking Ractor compatibility. In total, 24 commits and 15 pull requests landed.
Who contributed to Rails on August 13, 2026?
4 developers shipped this update, including Mike Dalessio, Hartley McGuire, Aaron Patterson, and npezza93.
What were the notable Rails updates?
Allow ffmpeg and ffprobe input arguments to be configured (#58461), Remove attribute_method_patterns_cache, and Restore performance for dynamic attribute read.

More from @rails

Daily updates, in your inbox

Follow Rails

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?