Remove node.tags_as_hash method

This commit is contained in:
Anton Khorev 2024-09-03 04:27:07 +03:00
parent 3267a3c55c
commit 7f9cccf038
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -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
[]