From: Tom Hughes Date: Wed, 4 Dec 2013 17:41:21 +0000 (+0000) Subject: Fix OldRelation.tags X-Git-Tag: live~4544 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/10e92b85a730836abe2d7c0564da0b5c55154f95 Fix OldRelation.tags --- diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index 284efd09c..9f80a81b9 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -72,7 +72,7 @@ class OldRelation < ActiveRecord::Base def tags unless @tags @tags = Hash.new - self.tags.each do |tag| + self.old_tags.each do |tag| @tags[tag.k] = tag.v end end