]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way_node.rb
Ooops, forgot to commit the routes for the changeset query and include calls.
[rails.git] / app / models / old_way_node.rb
index 5260ee698f5b8df2e356c12284c002ea9f1bc85b..7420b5cfc6de874fff207e65571eda62f4e9a7ae 100644 (file)
@@ -1,6 +1,7 @@
 class OldWayNode < ActiveRecord::Base
-  belongs_to :user
-
   set_table_name 'way_nodes'
 
+  set_primary_keys :id, :version, :sequence_id
+
+  belongs_to :way, :foreign_key=> :id
 end