[openstreetmap/openstreetmap-website] Do more preloading of tags and members (PR #6338)
Tom Hughes
notifications at github.com
Thu Aug 21 16:54:57 UTC 2025
@tomhughes commented on this pull request.
> @@ -1,7 +1,7 @@
class RelationMembersController < ElementsController
def show
@type = "relation"
- @feature = Relation.preload(:relation_members => :member).find(params[:id])
+ @feature = Relation.preload(:relation_members => { :member => :element_tag }).find(params[:id])
That should be fixed now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6338#discussion_r2291638917
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6338/review/3141556801 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250821/b3812c0a/attachment.htm>
More information about the rails-dev
mailing list