I am creating a rails application which will use geolocation. One can add a longi- and latitude to a record. If there are multiple records with geolocations, one can see a Google Map with nearby records, just like Twitter geolocation.
How can I store the coordinates (I don't mind to do calculations) and find nearby records? My database is MySQL.
Thanks.