Rails: How to use "_blank" or "_new" in Rails
I think it's like this
<%= link_to image_tag('img.png'), 'http://www.website.com', target: '_blank' %>
See http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to
For anyone wondering how to achieve this when passing a block:
<%= link_to(product.link, target: '_blank') do %>