Any URLs that occur in the text of the web page are automatically surrounded by an anchor tag.
Wyatt Greene
gem "rack-linkify", "~> 0.0.2"