New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update geo_loc.rb #199
Update geo_loc.rb #199
Conversation
Fixes this issue: geokit/geokit-rails#113
|
||
# sanatises the GeoLoc object so that it conforms to [] | ||
h = h.to_hash | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
@@ -49,7 +49,10 @@ def province | |||
# Constructor expects a hash of symbols to correspond with attributes. | |||
def initialize(h = {}) | |||
@all = [self] | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
2 similar comments
We are using @jamesstonehill's branch successfully until this is merged. Thanks James! |
Seeing geokit/geokit-rails#113 in production. Any thoughts on getting this merged? |
I think when this was first done I looked at it and could see that it worked, but had a feeling there was a better way. But I never got around to it so I'll merge. |
Fixes this issue: geokit/geokit-rails#113