如何在不使用铁路数字指数的情况下从数据库中检索用户信息7?
原文:How to retrieve user information from database without using numerical indexing in Rails 7?
原文:How to retrieve user information from database without using numerical indexing in Rails 7?
Initially, I would use a route like this : www.example.com/users/3 with user ID is 3, and then by indexing, we can retrieve user info from DB with O(1) complexity. But I have changed the route to ...