RepoJournal
Rails

@rails

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

Pick a date

The Wire · Showcase

RAILS HARDENS MEMCACHESTORE AGAINST DALLI MISUSE

By RepoJournal · Filed · About Rails

Rails now raises ArgumentError when MemCacheStore receives a Dalli::Client directly, closing a deprecated pathway that was supposed to die.

The change [1] enforces what was already promised: MemCacheStore stopped accepting Dalli::Client instances in a prior removal [2], but now it actively rejects them with a clear error rather than silently failing downstream. This is a defensive move for anyone who missed the deprecation warning and shipped code that still passes Dalli clients directly. The error message now correctly states that only "empty array, address, or array of addresses" are allowed, bringing the actual validation in line with the documentation. If you're bootstrapping MemCacheStore in initialization or test fixtures, this will catch mistakes at boot time instead of in production cache misses.

Action items

References

  1. [1] Merge pull request #57289 from p8/activesupport/remove-dalli-class rails/rails
  2. [2] Raise ArgumentError when MemCacheStore is created with Dalli::Client ↗ rails/rails

FAQ

What changed in Rails on May 4, 2026?
Rails now raises ArgumentError when MemCacheStore receives a Dalli::Client directly, closing a deprecated pathway that was supposed to die.
What should Rails teams do about it?
Audit MemCacheStore initialization across your codebase for any direct Dalli::Client passes • Update to latest Rails main if you maintain gems that wrap MemCacheStore
Which Rails repositories shipped on May 4, 2026?
rails/rails

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.