CarrierWaveDirect Without Processing
问题 I have a document model that consists of PDF files. Because I don't need to manipulate the PDFs in any way, I'm attempting to use CarrierWaveDirect without its processing step, which I believe is downloading and re-uploading the files. My uploader looks like this: class DocumentUploader < CarrierWave::Uploader::Base include CarrierWave::RMagick include CarrierWave::MimeTypes include CarrierWaveDirect::Uploader def will_include_content_type true end default_content_type 'application/pdf'