Having the following form:
= form_for company, html: { multipart: true } do |form|
= form.label :logo, 'Upload Image'
= form.file_field :logo
I want to set file_field value to another user uploaded image (have the object of ActionDispatch::Http::UploadedFile
class). Is there a way to do it?