Use the new dirties: false option to uncached to disable the query cache and avoid the messy workarounds.
Currently only available in Rails edge so this will need to wait for its release. Will be part of Solid Cache v1.0, which will drop support for Rails 7.1 and earlier.
Use the new
dirties: false
option touncached
to disable the query cache and avoid the messy workarounds.Currently only available in Rails edge so this will need to wait for its release. Will be part of Solid Cache v1.0, which will drop support for Rails 7.1 and earlier.