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

Add order_by_without_select option for activerecord near scope #644

Closed
wants to merge 1 commit into from

Conversation

mswart
Copy link

@mswart mswart commented Apr 29, 2014

Rails 4.1 does not drop added selection columns on count queries
(only on .count(:all)). This parameter adjusts the scope in the way
that the records are filtered and ordered by distance but the distance
is not select separatly. So .count still works with rails 4.1.

Addition to #630

Rails 4.1 does not drop added selection columns on count queries
(only on .count(:all)). This parameter adjusts the scope in the way
that the records are filtered and ordered by distance but the distance
is not select separatly. So .count still works with rails 4.1.

Addition to alexreisner#630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants