Link shortener in Rails.