url shortener with rails (this was practice for routes)