mmd-osm left a comment (openstreetmap/openstreetmap-website#6326)

> So the issue is that the different models have different names for the tag 
> association and if they were all the same then the normal methods would work?

The element tags still need to be fetched from 3 different tables 
current_{node,way,relation}_tags. I'm not sure if Rails is clever enough to 
split up a list of relation members by member type, and prefetch all tags in at 
most 3 queries, even if associations are all named the same across models.

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/6326/c3196115...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to