Best way to implement user generated URLS / Routes

Hi All,

I’d like to implement user customized URLS so that a user could enter a unique string and then a route would be generated so that ‘’ would be a valid route. Does anyone know the best way to do this in Rails 3?

Thanks, Mike

I forgot to add, that this would route would map to the user’s show action.