X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..c093aa481b94e4dc976716a81337355dacabe7c3:/app/models/node_tag.rb diff --git a/app/models/node_tag.rb b/app/models/node_tag.rb index 6bc1c555e..6f1bf0388 100644 --- a/app/models/node_tag.rb +++ b/app/models/node_tag.rb @@ -1,6 +1,6 @@ class NodeTag < ActiveRecord::Base - set_table_name 'current_node_tags' - set_primary_keys :node_id, :k + self.table_name = "current_node_tags" + self.primary_keys = "node_id", "k" belongs_to :node