10 lines
252 B
Ruby
10 lines
252 B
Ruby
|
# encoding: utf-8
|
||
|
class CancerPredictMappingFile
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
mount_uploader :temp_file, HeadImagesUploader
|
||
|
|
||
|
def file_identifier
|
||
|
filename = self.temp_file.file.original_filename rescue ""
|
||
|
end
|
||
|
end
|