Skip to content
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

Fix order query in with_all #1

Merged
merged 1 commit into from
Jan 31, 2014

Conversation

hirocaster
Copy link

Fix this

User.connection.with_all do
  User.order("created_at DESC").limit(3).all
end

hanabokuro added a commit that referenced this pull request Jan 31, 2014
@hanabokuro hanabokuro merged commit e4ef26b into hanabokuro:tiepadrino Jan 31, 2014
matsubara0507 added a commit to mixigroup/activerecord-turntable that referenced this pull request Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants