]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation.rb
Added first attempt at bounding box support in changesets and tests for the same.
[rails.git] / app / models / relation.rb
index 81f17899739ce336a6d6b1151befc9bbd4d44ca6..9836ef4f1e29d9d65053f2cbacb833e4a7cb2bb2 100644 (file)
@@ -221,6 +221,9 @@ class Relation < ActiveRecord::Base
       old_relation = OldRelation.from_relation(self)
       old_relation.timestamp = t
       old_relation.save_with_dependencies!
       old_relation = OldRelation.from_relation(self)
       old_relation.timestamp = t
       old_relation.save_with_dependencies!
+
+      # update the bbox of the changeset and save it too.
+      # FIXME: what is the bounding box of a relation?
     end
   end
 
     end
   end