add gem friendly_id and i executed bundle install
adapted the user profile to public and modification the users_profiles_controller code. I added  migration to use friendly
changed the routes, from  /users/:id_user to /:id_user/...
the user profile works but friedlyId is not integrated