From: Tom Hughes Date: Sun, 3 Feb 2008 16:28:02 +0000 (+0000) Subject: Don't preload nodes as it seem to break ways with duplicate nodes. X-Git-Tag: live~7919 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/02f768533d75aee98afd15946a61717164cd03e4?ds=sidebyside Don't preload nodes as it seem to break ways with duplicate nodes. --- 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 = []