Exception: CarrierWave::FormNotMultipart

Inherits:
UploadError
  • Object
show all
Defined in:
lib/carrierwave/uploader/cache.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



6
7
8
# File 'lib/carrierwave/uploader/cache.rb', line 6

def message
  "You tried to assign a String or a Pathname to an uploader, for security reasons, this is not allowed.\n\n If this is a file upload, please check that your upload form is multipart encoded."
end