From: Tom Hughes Date: Tue, 3 Sep 2024 16:17:34 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/5153' X-Git-Tag: live~717 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f8ed06b10dadae1a6e3942bbd29e5193437c8ea9?hp=3267a3c55cee4e86cfe3e938f0ed26d4ec000e6f Merge remote-tracking branch 'upstream/pull/5153' --- diff --git a/app/models/node.rb b/app/models/node.rb index 825336d16..1bec9a33c 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -199,10 +199,6 @@ class Node < ApplicationRecord save_with_history! end - def tags_as_hash - tags - end - def tags @tags ||= node_tags.to_h { |t| [t.k, t.v] } end diff --git a/app/models/old_node.rb b/app/models/old_node.rb index b323f0b4f..4585ed406 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -85,10 +85,6 @@ class OldNode < ApplicationRecord attr_writer :tags - def tags_as_hash - tags - end - # Pretend we're not in any ways def ways []