Use `link_to` with a path helper rather than constructing URLs manually -- this could also be shortened by using association calls such as `article.user`. This could be simplified to:

`<%= link_to article.title, user_article_path(article.user, article) %>`