Open
Description
In versions 2.5.0 and older you could do
json.cache! "key_name", expires_in: 10.minutes, force: force? do
where force? is a method that returns a boolean. If force was true then rails would generate and write the cache. This is broken when I upgrade to 2.6 and greater.
I tried using cache_if! as a workaround but it doesn't expire the cache. Is this a bug or an intentional change?