X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fc25c3d412829774abf0454e4dcc92e41f47454c..56fd5c4d90c7d3757fb97ff16c40aaa307ae1d22:/app/models/changeset_tag.rb diff --git a/app/models/changeset_tag.rb b/app/models/changeset_tag.rb index bd0417ab4..0425fa6b4 100644 --- a/app/models/changeset_tag.rb +++ b/app/models/changeset_tag.rb @@ -1,5 +1,5 @@ class ChangesetTag < ActiveRecord::Base - set_primary_keys :changeset_id, :k + self.primary_keys = "changeset_id", "k" belongs_to :changeset