Skip to content

Instantly share code, notes, and snippets.

@robertmilner
Created February 8, 2012 16:12
Show Gist options
  • Save robertmilner/1770782 to your computer and use it in GitHub Desktop.
Save robertmilner/1770782 to your computer and use it in GitHub Desktop.
Gmaps4rails - Update Latitude and Longitude on Address Edit
# acts_as_gmappable # commented out original gmaps4rails code to compare
acts_as_gmappable :check_process => false
def gmaps4rails_address
self.address
end
@robertmilner
Copy link
Author

Code Academy students, we placed this code in our model_name.rb file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment