← Back to Upcase

Geocoder not working for Heroku app

(Joanne Daudier) #1

We’re using the Geocoder gem to match users by zipcode. It works locally on our machine on SQLite server but the user is not getting geocoded (latitutude & longitude) on the production site (Heroku).

Does anyone know why?

Live page: http://www.codermatch.me
Source code: https://github.com/jdaudier/codermatch/tree/geocoder

(Joanne Daudier) #2

Solved it. Had to add this to application.rb.

config.assets.initialize_on_precompile = false 

Not sure why.