]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Drop with_format and user the new :formats render option instead
[rails.git] / app / models / old_way.rb
index 00642cdb3568eeb834aa2580652484e5e7a188d9..db8a6df4061ae3f8d60194c86c885f29462d95a5 100644 (file)
@@ -1,8 +1,8 @@
 class OldWay < ActiveRecord::Base
   include ConsistencyValidations
   
-  set_table_name 'ways'
-  set_primary_keys :way_id, :version
+  self.table_name = "ways"
+  self.primary_keys = "way_id", "version"
 
   belongs_to :changeset