Colon_Cancer_Predict1/app/models/coloncancer_predict_mapping...

10 lines
264 B
Ruby
Raw Normal View History

2022-05-23 10:32:51 +00:00
# encoding: utf-8
class ColoncancerPredictMappingFile1
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :temp_file, ColonHeadImagesUploader1
def file_identifier
filename = self.temp_file.file.original_filename rescue ""
end
end