Remove node.tags_as_hash method
This commit is contained in:
parent
3267a3c55c
commit
7f9cccf038
2 changed files with 0 additions and 8 deletions
|
@ -199,10 +199,6 @@ class Node < ApplicationRecord
|
||||||
save_with_history!
|
save_with_history!
|
||||||
end
|
end
|
||||||
|
|
||||||
def tags_as_hash
|
|
||||||
tags
|
|
||||||
end
|
|
||||||
|
|
||||||
def tags
|
def tags
|
||||||
@tags ||= node_tags.to_h { |t| [t.k, t.v] }
|
@tags ||= node_tags.to_h { |t| [t.k, t.v] }
|
||||||
end
|
end
|
||||||
|
|
|
@ -85,10 +85,6 @@ class OldNode < ApplicationRecord
|
||||||
|
|
||||||
attr_writer :tags
|
attr_writer :tags
|
||||||
|
|
||||||
def tags_as_hash
|
|
||||||
tags
|
|
||||||
end
|
|
||||||
|
|
||||||
# Pretend we're not in any ways
|
# Pretend we're not in any ways
|
||||||
def ways
|
def ways
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue