I'm surprised Rails creator didn't think about that, if someone can help, would be great.
How can we do to change this:
<%= link_to "My Title", :controller => "products" %>
to this automatically:
<%= link_to "My Title", :controller => "products", :title => "My Title" #basically a copy of the text %>
I think it could help SEO a lot.
Thanks a lot!
Alex
This is the rails 3 way:
<%= link_to object_path, title: "Path Title" %>
Further reading: https://www.searchenginejournal.com/how-to-use-link-title-attribute-correctly/