X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..8f57efe850bf9805d9bfb073d16d4cf1d06882f5:/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