Shrine

How use cache: false on an :activerecord uploader?

The model plugin has a documented cache: false option to disable use of the cache storage. Model · Shrine

plugin :model, cache: false

But if I have an uploader that uses the :activerecord plugin, it doens’t normally have an explicit call to plugin :model.

How do i set this option? Do I just put in a plugin :model anyway, it won’t cause a problem that this was already included as a dependency of :activerecord?

class MyUploader < Shrine
  plugin :activerecord
  plugin :model, cache: false
end

Is that right?

curious if you’ve had any luck with this as I’ve been trying as well