X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..59d5b5fa6eb09e159771d170f0831ec49283c91a:/app/models/relation_tag.rb diff --git a/app/models/relation_tag.rb b/app/models/relation_tag.rb index 2773d0612..c665cfef6 100644 --- a/app/models/relation_tag.rb +++ b/app/models/relation_tag.rb @@ -1,6 +1,6 @@ class RelationTag < ActiveRecord::Base - set_table_name 'current_relation_tags' - set_primary_keys :relation_id, :k + self.table_name = "current_relation_tags" + self.primary_keys = "relation_id", "k" belongs_to :relation