From 02f768533d75aee98afd15946a61717164cd03e4 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Feb 2008 16:28:02 +0000 Subject: [PATCH] Don't preload nodes as it seem to break ways with duplicate nodes. --- app/controllers/amf_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index 212343607..9592cf941 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -167,7 +167,7 @@ class AmfController < ApplicationController RAILS_DEFAULT_LOGGER.info(" Message: getway, id=#{wayid}") - way = Way.find(wayid, :include => :nodes) + way = Way.find(wayid) long_array = [] lat_array = [] points = [] -- 2.43.2