]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
Clarify image dimensions
[rails.git] / app / models / changeset.rb
index 549600df6d26819bdce4a1aa04fa816ee8227e77..f41ad99551f96ed3c8b5bba53c285231ba30ddef 100644 (file)
@@ -149,7 +149,7 @@ class Changeset < ActiveRecord::Base
       save!
 
       tags = self.tags
-      ChangesetTag.delete_all(:changeset_id => id)
+      ChangesetTag.where(:changeset_id => id).delete_all
 
       tags.each do |k, v|
         tag = ChangesetTag.new