Skip to content
Snippets Groups Projects
Commit 9d060077 authored by Alex Reisner's avatar Alex Reisner
Browse files

Make language clearer.

Explain what exactly `:order => false` does.
parent 83d652ad
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ To find objects by location, use the following scopes:
Venue.geocoded # venues with coordinates
Venue.not_geocoded # venues without coordinates
Objects are ordered by distance by default. To turn it off use the following:
by default, objects are ordered by distance. To remove the ORDER BY clause use the following:
Venue.near('Omaha', 20, :order => false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment