Fix OldRelation.tags
[rails.git] / app / models / old_relation.rb
index 284efd09cf6288d27ef0b7af5d329ad119a244ae..9f80a81b9fc6b1e1edd32523a93073e6fe7863af 100644 (file)
@@ -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