I am basically trying to get this result:
Log in
The simplest way to do it is by using html_safe or raw functions
<%= link_to 'Log In'.html_safe %>
or using raw function (recommended)
<%= link_to raw('Log In') %>
Simple as it can get !!
Don’t use html_safe method unless you’re sure your string isn’t nil. Instead use the raw() method, which wont raise an exception on nil.