NotImplementedError: ActiveSupport::Cache::DalliStore does not support delete_matched #40

Closed
mischa opened this Issue Nov 9, 2010 · 2 comments

Comments

Projects
None yet
2 participants

mischa commented Nov 9, 2010

I'm getting this on Heroku when I try to update a record.

I'm calling ActionController::Base.new.expire_fragment(/regex/) in a model.

Any ideas on where I can start looking for how to solve this?

It works fine in development w/ caching turned on etc.

Collaborator

mperham commented Nov 9, 2010

memcached does not support enumerating or querying keys by pattern so there's no way for Dalli to implement it. You cannot use that functionality with memcached as your cache store, whether you use memcache-client or Dalli.

I suspect you aren't actually using Dalli in development mode or that caching is not truly enabled.

mischa commented Nov 9, 2010

Oh ok. Thanks!

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment