[openstreetmap/openstreetmap-website] Purpose of user.nearby database column? (#2417)

Andy Allan notifications at github.com
Wed Oct 30 14:30:40 UTC 2019


We currently have a "nearby" column in the users table, added in 2007:

```
#  nearby              :integer          default(50)
```
https://github.com/openstreetmap/openstreetmap-website/commit/0a8c26e596b40da6d428a5c91db0d815d13c89e4#diff-10aaef61b133f90c8313930f89fe7dac

Is this required for anything? The `User.nearby` code [doesn't appear to use it](https://github.com/openstreetmap/openstreetmap-website/blob/master/app/models/user.rb#L199).


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191030/c9441711/attachment.html>


More information about the rails-dev mailing list