I am trying to invalidate a cached fragment.
My fragment looks like
<% cache (
At this point,rails has created 2 cache files correctly and everything
fine becuase I dont see rails making calls to the SQL db to get items
DB.Instead it uses cache.
When I call expire_fragment,Rails creates a new directory ‘users’ and a
cache inside that directory but when rendering the view it still uses
old cache fragment.
Isnt expire_fragment supposed to delete the cache files? and why is a
directory being created.?