rails action image code example
Example: rails image tag
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />