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

Update documentation: show array as first argument to find_near method.

parent 53c464fa
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ If your model has +address+, +city+, +state+, and +country+ attributes your +loc
Assuming +Venue+ is a geocoded model:
Venue.find_near('Omaha, NE, US', 20) # venues within 20 miles of Omaha
Venue.find_near([40.71, 100.23], 20) # venues within 20 miles of a point
Venue.geocoded # venues with coordinates
Venue.not_geocoded # venues without coordinates
......
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