Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as cache storage. I am facing this issue to uploading an image for our blog in ruby on rails. Please tell me how I am Fix this Issue. Backbenchersstudy
Cloudinary is currently not indented to be used as cache storage. However, as part of CarrierWave 2.0 updates here , the behaviour was changed so that the default cache storage is now configured to be the same as the regular upload hence the error.
You can use the below configuration to set the cache storage to file instead of it trying to use Cloudinary.
CarrierWave.configure do |config|
config.cache_storage = :file
end
Related thread: https://github.com/cloudinary/cloudinary_gem/issues/344
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.