Simple url shortener test app in Rails