]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
api06: simplify exception handling and add exception handling to the diff
[rails.git] / app / models / changeset.rb
index 983f7544c11710ce330c2958f192915732142352..c9eeb0018371cf1b9107fabbf9c487c167f8a22b 100644 (file)
@@ -100,6 +100,11 @@ class Changeset < ActiveRecord::Base
     end
     
     el1['created_at'] = self.created_at.xmlschema
     end
     
     el1['created_at'] = self.created_at.xmlschema
+    el1['open'] = self.open.to_s
+
+    # FIXME FIXME FIXME: This does not include changes yet! There is 
+    # currently no changeset_id column in the tables as far as I can tell,
+    # so this is just a scaffold to build on, not a complete to_xml
 
     return el1
   end
 
     return el1
   end