This PR improves fetching of relation member tags. Follow up for https://github.com/openstreetmap/openstreetmap-website/pull/6326#issuecomment-3202276027
As part of this change, existing associations node_tags, way_tags and relation_tags are all renamed to element_tags, so that Rails can easily prefetch all tags across different element types. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6337 -- Commit Summary -- * Normalise node/way/relation tags association as element_tags * Prefetch element_tags for relation members -- File Changes -- M app/controllers/api/maps_controller.rb (10) M app/controllers/api/relations_controller.rb (6) M app/controllers/api/ways_controller.rb (2) M app/controllers/nodes_controller.rb (2) M app/controllers/old_nodes_controller.rb (2) M app/controllers/old_relation_members_controller.rb (2) M app/controllers/old_relations_controller.rb (2) M app/controllers/old_ways_controller.rb (6) M app/controllers/relation_members_controller.rb (2) M app/controllers/relations_controller.rb (2) M app/controllers/ways_controller.rb (2) M app/models/node.rb (4) M app/models/relation.rb (6) M app/models/way.rb (4) M test/models/node_test.rb (2) M test/models/relation_test.rb (2) M test/models/way_test.rb (2) M test/test_helper.rb (6) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6337.patch https://github.com/openstreetmap/openstreetmap-website/pull/6337.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6337 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev