RailsCasts Pro episodes are now free!

Learn more or hide this

Christopher Moeller's Profile

GitHub User: cmoel

Comments by Christopher Moeller

Avatar

Anyone know if there's a way to remove the :id version of the url from working? For example, if someone visits /users/:username it brings them to that user's profile. If they visit /users/1 it brings them to the user with :id of 1. Is there a way to prevent this?

Thanks!