X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e79fd0763854f8cf41aefd7364c6bdf476280811..ffbc4d5cb278c1afeafea5cfe904ec48d9f4d237:/app/models/relation.rb diff --git a/app/models/relation.rb b/app/models/relation.rb index b94aef9ae..2607e7f2f 100644 --- a/app/models/relation.rb +++ b/app/models/relation.rb @@ -307,6 +307,9 @@ class Relation < ActiveRecord::Base end end + # tell the changeset we updated one element only + changeset.add_changes! 1 + # save the (maybe updated) changeset bounding box changeset.save! end