Changing the id parameter in Rails routing June 4, 2023 by Tarik In your route you can use resources :user, param: :username