Rails5 has params[:file_type] as '' if file_type is included as nil in the request
Attach a file by drag & drop or click to upload