Method: FileColumn::NoUploadedFile#assign_temp
- Defined in:
- lib/file_column.rb
#assign_temp(temp_path) ⇒ Object
163 164 165 166 167 168 |
# File 'lib/file_column.rb', line 163 def assign_temp(temp_path) return self if temp_path.nil? or temp_path.empty? temp = clone_as TempUploadedFile temp.parse_temp_path temp_path temp end |