Home Sorting records by DESC in development works well but in production doesn't work
 I use the same database mysql2 for both development and production, but when sorting records by desc, only the development environment works, it doesn't work in production environment. Can anyone let me know which caused the problem and the solution for it? For example: User.order("score desc")  In development, I will get all users from highest score to lowest. But in production, it doesn't work.