Displaying 2 results from an estimated 2 matches for "acts_as_locat".
Did you mean:
acts_as_goat
2007 Aug 15
1
Geodata SQL statements with multiple results in the controller
Hi Everyone-
In my project I need to take a zip code and get all the schools within
the selected mile radius of that zip code. In addition I will need to
check to see if the user selected any other items to add to the
search.
My problem is the geo code will return multiple results and I need to
get that result into the final sql string.
The flow is this:
Get the zip code and mile radius the
2008 Apr 16
4
Doing a radius/location search
The application I''m developing allows people to create events in their local
area; as part of this feature I want to display a list of, say, the five
most recent events within 30 miles of a person''s location.
I have a User model and a Profiles model which contains the user''s location
(city, state, zip code) among other non-related personal information. So
what I would