I\'m using Memcached with Heroku for a Rails 3.1 app. I had a bug and the wrong things are showing - the parameters were incorrect for the cache.
I had this:
Here you are:
<% ActionController::Base.new.expire_fragment("foo_header_cache_#{@user.id}") %>
Reference: - How to call expire_fragment from Rails Observer/Model?