]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_tag.rb
L.hash expects parseHash to return false if there isn't a location
[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