[openstreetmap/openstreetmap-website] Order tracepoints before asking for the first one (PR #6466)

Tom Hughes notifications at github.com
Wed Oct 22 17:49:12 UTC 2025


This fixes a new warning in rails 8.1.0 about calling first on a query that does not have a defined order.

We've been getting away with because the trace only has one point.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6466

-- Commit Summary --

  * Order tracepoints before asking for the first one

-- File Changes --

    M test/controllers/api/traces_controller_test.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6466.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6466.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6466
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6466 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251022/74cdd969/attachment.htm>


More information about the rails-dev mailing list