So I had a small issue the other day learning how to add a link to an image so I figure I would share with everyone on how I accomplished it. The key is that the link_to object can take a block and then you can add an image to the block like this:

<%= link_to 'link/path/here' do %>
    <%= image_tag 'image.png', :class => 'someClass' %>
<% end %>

It’s quick and it saves you a ton of time doing it manually!