If necessary, you can specify param: :uuid As stated in the official documentation
param: :uuid
resources :threads, param: :uuid