We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I spent quite a bit of time trying to pass in:
distance_units = preferences.units # Should be 'mi' or 'km' Location.near(origin, 500, :units => distance_units)
only to find out I had to add a 'to_sym':
Location.near(origin, 500, :units => distance_units.to_sym)
It would be nice if :units was more forgiving and could take a string.
The text was updated successfully, but these errors were encountered:
Fixed by #411.
Sorry, something went wrong.
Thank you good sir.
No branches or pull requests
Hi,
I spent quite a bit of time trying to pass in:
only to find out I had to add a 'to_sym':
Location.near(origin, 500, :units => distance_units.to_sym)
It would be nice if :units was more forgiving and could take a string.
The text was updated successfully, but these errors were encountered: