]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_tag.rb
jsrouting: clear search boxes on page unload
[rails.git] / app / models / relation_tag.rb
index 2773d0612a30ec2b329df102a9d1f75944fc8664..c665cfef66e0fb19896731d29776d3695715b153 100644 (file)
@@ -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