]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset_tag.rb
Make setting of a default status for new notes work
[rails.git] / app / models / changeset_tag.rb
index bd0417ab4255af3a32ff6a56b4a895a3460a02ee..0425fa6b40ae580587ea0ac736c0831f8333fb57 100644 (file)
@@ -1,5 +1,5 @@
 class ChangesetTag < ActiveRecord::Base
-  set_primary_keys :changeset_id, :k
+  self.primary_keys = "changeset_id", "k"
 
   belongs_to :changeset