Open jaswinder97 opened 4 years ago
I reproduce the bug, do you have found a solution please ?
This is difficult to debug without more information (I can't reproduce it). If the before_save
callback is only being executed on object create, that's a Rails or application error, not a Geocoder bug.
Expected behavior
It should update lat lng on updating any field change in geocoded_by address but only called on create callback of activerecord
Actual behavior
It doesn't geocode on activerecord update callbacks
Steps to reproduce
Declare model declarations as:
try updating any field in full_address like line_1 or line_2 or postcode of location.
Environment info