title: open a url link in a new tab from a Rails controller
body: <p>I've been trying to open multiple pdf's in new tabs automatically from my rails controller, but nothing has worked so far so I'm back to square one. If anyone could help, it would be much appreciated! Below is an example of what I'm trying to do. </p>
  
  <pre><code>id_array = [1,2,3]
  
  id_array.each do |id|
    // I want to open each of these three links in a new browser tab
    http://localhost:3000/pdf/id.pdf
  end
  </code></pre>
  
  <p>Cheers!</p>