]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
adding some version reading for the nodes
[rails.git] / app / models / old_relation.rb
index 03d5aebfff3006eaa91036b5efa26118835b7223..f5885f39ffb59adc799f4b5ea7832066f9654f5a 100644 (file)
@@ -109,5 +109,20 @@ class OldRelation < ActiveRecord::Base
       el1 << e
     end
     return el1
-  end 
+  end
+
+  # Temporary method to match interface to nodes
+  def tags_as_hash
+    return self.tags
+  end
+
+  # Temporary method to match interface to relations
+  def relation_members
+    return self.old_members
+  end
+
+  # Pretend we're not in any relations
+  def containing_relation_members
+    return []
+  end
 end