This should be a function part of the User model (/app/models/users.coffee) that returns a random set of other users that live within a given radius, based on the latitude-longitude we've calculated for them.
Parameters:
radius: the radius in that should be considered
units: miles or kilometers (default to miles)
This should be a function part of the User model (/app/models/users.coffee) that returns a random set of other users that live within a given radius, based on the latitude-longitude we've calculated for them.
Parameters:
radius: the radius in that should be considered
units: miles or kilometers (default to miles)