Format a URL in active record. Based on the example created by @ryanb at railscasts.com (missing you!)