Rails based url shortner