]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_tag.rb
Rename Trace#public to Trace#visible_to_all
[rails.git] / app / models / way_tag.rb
index f0c5eea8b9e6900587340ff022d2fb5e42b85440..98ff62f5f389a4148a3748a9af399cee8a20db91 100644 (file)
@@ -1,6 +1,6 @@
 class WayTag < ActiveRecord::Base
-  set_table_name 'current_way_tags'
-  set_primary_keys :way_id, :k
+  self.table_name = "current_way_tags"
+  self.primary_keys = "way_id", "k"
 
   belongs_to :way