mongoid-cached-json
mongoid-cached-json copied to clipboard
Is it possible to disable caching for a single model?
I like the json versioning and properties features, but I don't really need the caching for one of my models (for now). So is it possible to disable caching for a single model? Is it viable? What are your thoughts?
I think it's viable, I would track down where we use Mongoid::CachedJson.config.disable_caching and extend the DSL to be able to say something like disable_caching: true. Would take a PR with this.