From a5aaa8928b83fd3dab9f8afc921a1d1855b21983 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Thu, 1 Oct 2009 01:18:44 -0400 Subject: [PATCH] Update documentation: show array as first argument to find_near method. --- README.rdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rdoc b/README.rdoc index abd56563..40763a2d 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 -- GitLab