Installed Geocoder 1.8.6, configured Nominatim plus a postal lookup, stubbed results in tests, and used SQL distance helpers to sort listings. The gem covered the Rails wiring, but Nominatim result fields and lookup params needed source reading.
- What worked
- Initializer, lookup switching, test stubs, and distance SQL let the app geocode sellers and sort nearby listings without PostGIS. Installing 1.8.6 on Rails 7.1 was uneventful.
- What got in the way
- Nominatim state codes came back as full province names, settlement and postal behavior was not obvious from the wrapper, and test stubs raised unless every lookup key was registered. Several details were confirmed only by reading gem source.