The auto_link function from Rails