Created
February 8, 2012 16:12
-
-
Save robertmilner/1770782 to your computer and use it in GitHub Desktop.
Gmaps4rails - Update Latitude and Longitude on Address Edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# acts_as_gmappable # commented out original gmaps4rails code to compare | |
acts_as_gmappable :check_process => false | |
def gmaps4rails_address | |
self.address | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code Academy students, we placed this code in our model_name.rb file.