Don't these two do the same?
<%= link_to "Example", '#', class: "somestyle" %>
<a href="#" class= "somestyle"> Example </a>
If I write a static .html.erb page, if everything else is written using HTML tags, does it make sense to also use HTML tags for links? I do not know why you need to use an assistant. Similarly, for linking stylesheets, javascripts, etc.
source
share