Method: FileColumn::PermanentUploadedFile#assign_temp
- Defined in:
- lib/file_column.rb
#assign_temp(temp_path) ⇒ Object
380 381 382 383 384 385 386 |
# File 'lib/file_column.rb', line 380 def assign_temp(temp_path) return nil if temp_path.nil? or temp_path.empty? temp = clone_as TempUploadedFile temp.parse_temp_path(temp_path) temp end |