Рельс Image Tag
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
Lioruby
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
<%= image_tag 'filename', title: "title", class: "class", data: { description: '..', title: '..' } %>