I'm working on a website that allows users to create an account. One of the attributes when creating a user is a users personal website. When I try to use the users website like this:
<%= link_to @user.site, @user.url %>
The url that gets generated is: http://0.0.0.0:3000/www.userswebsite.com
I think this is because of the @user part of the link_to... but how can I get this to link to www.userwebsite.com ?