diff --git a/app/models/cancer_predict_mapping_file.rb b/app/models/cancer_predict_mapping_file.rb index 563870c..8cdaa27 100644 --- a/app/models/cancer_predict_mapping_file.rb +++ b/app/models/cancer_predict_mapping_file.rb @@ -1,9 +1,7 @@ # encoding: utf-8 class CancerPredictMappingFile - require 'carrierwave/processing/mime_types' include Mongoid::Document include Mongoid::Timestamps - include CarrierWave::MimeTypes mount_uploader :temp_file, HeadImagesUploader def file_identifier diff --git a/app/models/head_images_uploader.rb b/app/models/head_images_uploader.rb index c79e018..cc57d71 100644 --- a/app/models/head_images_uploader.rb +++ b/app/models/head_images_uploader.rb @@ -1,12 +1,7 @@ # encoding: utf-8 -require 'carrierwave/processing/mime_types' class HeadImagesUploader < CarrierWave::Uploader::Base - include CarrierWave::MimeTypes - - process :set_content_type - # Include RMagick or ImageScience support: # include CarrierWave::RMagick # include CarrierWave::ImageScience