carrierwave-webdav
carrierwave-webdav copied to clipboard
Undefined method file for CarrierWave::WebDAV::File
Hello, I received this error message when trying to store a file on my server. I'm using CarrierWave 2.1.0 and Rails 6.0.3.3. My version of Ruby is 2.6.6.
NoMethodError in UsersController#create
undefined method 'file' for #<CarrierWave::WebDAV::File:0x00007f3d3c23d270>
Help me solve this problem, I want to use WebDav in my project and CarrierWave + WebDav seems like a great option.
This happens when you don't explicitly set cache storage location to non-webdav, such as config.cache_storage = :file
Getting the same issue with carrierwave 2.2.5 and rails 6.0.6.1 and ruby 2.6.10.