(languages & array.collect { |i| i.to_s }).first
end
- def nearby(radius = 50, num = 10)
+ def nearby(radius = NEARBY_RADIUS, num = NEARBY_USERS)
if self.home_lon and self.home_lat
gc = OSM::GreatCircle.new(self.home_lat, self.home_lon)
bounds = gc.bounds(radius)
# Quova authentication details
#quova_username: ""
#quova_password: ""
+ # Users to show as being nearby
+ nearby_users: 30
+ # Max radius, in km, for nearby users
+ nearby_radius: 50
# Spam threshold
spam_threshold: 50
# Default legale (jurisdiction location) for contributor terms