<%#= link_to "/missions/upload_files/download?id=#{idea.attachment_id}", target: '_blank' do %>
<%#= idea.attachment&.filename.to_s %>
<%# end %>
<% idea.attachments.each do |a| %>
<%= link_to "/missions/upload_files/download?id=#{a.id}", target: '_blank' do %>
<%= a&.filename.to_s %>
<% end %>
<% end %>