]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
Replace deprecated methods with modern equivalents
[rails.git] / app / models / way.rb
index 85aca4334a482125a068c9bd21d573d3e6b9dc7e..f1c46abf327cf6d634d426b62b6b3721f118d16d 100644 (file)
@@ -3,7 +3,7 @@ class Way < ActiveRecord::Base
   
   include ConsistencyValidations
 
-  set_table_name 'current_ways'
+  self.table_name = "current_ways"
   
   belongs_to :changeset