Implementation of (URL Shortener) in Ruby On Rails