I found that when I tried to cache using the below example, it was not flattening the tags, hence the final cache key used to link the tag with the fragment was "parent/aunty" instead of having 2 separate cache entries. So then the gem never expired the fragment properly.
cache("key", :tags=>["parent", "aunty"]) do
= something_that_cache
I found that when I tried to cache using the below example, it was not flattening the tags, hence the final cache key used to link the tag with the fragment was "parent/aunty" instead of having 2 separate cache entries. So then the gem never expired the fragment properly.