Replicating Bitly in this Rails project!