you can also do target: :_blank
if you prefer to use a symbol
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
you can remove the default action of the link in js as
$('#button-id').click(function(e){
e.preventDefault();
});
The preventDefault() function prevents the default action of the event
For anyone wondering how to achieve this when passing a block:
<%= link_to(product.link, target: '_blank') do %>