X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..c8fc2218e5e342ad7afc9409974fd48a733ba94b:/app/models/changeset.rb diff --git a/app/models/changeset.rb b/app/models/changeset.rb index f23a4e356..ce0943824 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -170,7 +170,7 @@ class Changeset < ApplicationRecord save! tags = self.tags - ChangesetTag.where(:changeset_id => id).delete_all + ChangesetTag.where(:changeset => id).delete_all tags.each do |k, v| tag = ChangesetTag.new