Geocoder.configure returns no method error

33 Views Asked by At

I am trying to configure geocoder with geocoder 0.9.11 in rails 7. Every time I call Geocoder.configure in initializers/Geocoder.rb and in console it returns a no method error. I originally have a timeout error using the free lookup like yandex, but I cannot manage to get at Geocoder.configure which I assume is now different in newer geocoder versions? If this is in fact the problem that the free service is just too slow, are there premium services I can use?

Geocoder configure and timeout errors

1

There are 1 best solutions below

3
smathy On BEST ANSWER

Why on earth would you be using such an old gem? Unsurprisingly, the Geocoder.configure API was not present back in 2011, hence why you're getting the NoMethodError.