]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
api06: simplify exception handling and add exception handling to the diff
[rails.git] / app / models / old_relation.rb
index 076c03eec72dad790f09a3857038a071ca99d96a..03d5aebfff3006eaa91036b5efa26118835b7223 100644 (file)
@@ -92,6 +92,7 @@ class OldRelation < ActiveRecord::Base
     el1['visible'] = self.visible.to_s
     el1['timestamp'] = self.timestamp.xmlschema
     el1['user'] = self.user.display_name if self.user.data_public?
+    el1['version'] = self.version.to_s
     
     self.old_members.each do |member|
       e = XML::Node.new 'member'