]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node_tag.rb
Fix cut and paste errors in inbox/outbox redesign
[rails.git] / app / models / node_tag.rb
index 6bc1c555e6e4e79b8cd8923d93f6815ec322a3b6..6f1bf0388a5c0bd3417c8a52fada295dcb838e77 100644 (file)
@@ -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