-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong most_recent_created #3010
Comments
This is expected, see #2514. |
So, I repeat: "it is wrong!". Now it show weather on Mars because rails 5 default sort by uuid. |
Then letting users to choose which column to use to sort will be the option. |
Rails 6 has implicit_order_column. |
now it is
@most_recent_created[t.model.name] = t.model.last.try(:created_at)
rails 5 by default use
order by "model_name".id
. When usinguuid
asid
it have wrong behaviour. I think this should use sorting order from model's settingsThe text was updated successfully, but these errors were encountered: