]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
changing the belongs_to and has_many items in the models to reflect the new foriegn...
[rails.git] / app / models / old_way.rb
index 3c88c4673401fb20b3cb5dcedac4067ff56a1db5..2820d9438a1e6868151e68a01595c0bed7f1610a 100644 (file)
@@ -1,7 +1,7 @@
 class OldWay < ActiveRecord::Base
   set_table_name 'ways'
 
-  belongs_to :user
+  belongs_to :changeset
 
   def self.from_way(way)
     old_way = OldWay.new