[openstreetmap/openstreetmap-website] Move tracepoint ordering logic into tracepoint model, and add tests (#2068)

Tom Hughes notifications at github.com
Mon Nov 19 18:46:32 UTC 2018


For what it's worth my immediate thought at the time was to maybe add `ordered` and `unordered` scopes on the model  but still do the union in the controller. Not sure where the bbox goes though - could be in the controller or could be an argument on the scopes.

-- 
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/pull/2068#issuecomment-439999837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181119/df65714f/attachment.html>


More information about the rails-dev mailing list