]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_node.rb
make amf_controller use rails objects, and stuff, in the getway method. You need...
[rails.git] / app / models / way_node.rb
index 06515fc20711e179f978264e0b1514d75d462181..7f7789303f736da688195cad874df0c324d93aa1 100644 (file)
@@ -1,5 +1,6 @@
 class WayNode < ActiveRecord::Base
   set_table_name 'current_way_nodes'
 
+  set_primary_keys :id, :sequence_id
   belongs_to :node
 end