apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Update coordinates on changing model's address #20

Closed enricribas closed 13 years ago

enricribas commented 13 years ago

Not sure if I am doing something wrong but everything works for me, except when I change the location with address on the model, it does get saved but the coordinates are not updated. I think I can fix this with an before_save function to call geocode but this seems like a bug to me. (or at least a nice new feature to add. :) )

apneadiving commented 13 years ago

Hi and thanks for your feedback :)

Would you mind asking your 2 questiins on stackoverflow? Both have very good reasons :)

enricribas commented 13 years ago

Thanks. I created the question on StackOverflow. My first. :)

http://stackoverflow.com/questions/5807967/updating-coordinates-on-changing-models-address-using-google-maps-for-rails

apneadiving commented 13 years ago

just answered :)