xxxxxxxxxx
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
xxxxxxxxxx
<%= image_tag 'filename', title: "title", class: "class", data: { description: '..', title: '..' } %>
xxxxxxxxxx
<%= link_to(image_tag("/assets/logo.jpg", :alt => "logo", :title => "Home"), "/") %>