image in rails 6 html 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' />