[openstreetmap/openstreetmap-website] undefined method `split' when Nomintim isn't reachable (Issue #4137)

Andy Allan notifications at github.com
Thu Aug 3 13:56:36 UTC 2023


It's working for me (both on osm.org and also on a local machine) so perhaps it's an intermittent problem?

Alternatively, it could be based on the location you are looking at. The only `.spilt` call in geocoder_controller comes while parsing the bounding box attribute of the returned results, so it might be something location-specific that triggers it.

https://github.com/openstreetmap/openstreetmap-website/blob/ff4a7dc36d8a4181e0c28df936b281babbe421e4/app/controllers/geocoder_controller.rb#L111

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4137#issuecomment-1664031625
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4137/1664031625 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230803/4744837d/attachment.htm>


More information about the rails-dev mailing list