From: Christopher Schmidt Date: Mon, 12 May 2008 01:22:04 +0000 (+0000) Subject: node.tags is now (apparently) the same as tags_as_hash. X-Git-Tag: live~7616^2~345 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/697449d6f1976bdc31862e1508311620da246729?ds=sidebyside node.tags is now (apparently) the same as tags_as_hash. --- diff --git a/app/models/node.rb b/app/models/node.rb index acd251918..5f4133819 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -186,11 +186,7 @@ class Node < GeoRecord end def tags_as_hash - hash = {} - Tags.split(self.tags) do |k,v| - hash[k] = v - end - hash + return tags end def tags