I have a string in which users input a URL, which is later displayed in index.html. How can I turn that into a working external link? Right now, the link displays as should (e.g. www.facebook.com/tester), but when I click on the link I get a no route matches "/www.facebook.com/tester" routing error. I tried user.facebook.link but that didn't work.
I tried adding href=" " also but with no luck.
<%= link_to nil, user.facebook %>