Skip to content
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

Upgrade Ruby, Fix Geocoder #59

Merged
merged 1 commit into from
May 3, 2014
Merged

Conversation

jessieay
Copy link
Contributor

@jessieay jessieay commented May 2, 2014

@@ -273,7 +273,7 @@ correct message.

...

if @events.any?
if @events.count(:all) > 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure you need the (:all) in here. The default should be all. Perhaps for clarity, leave it in?

http://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-count

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh sorry, forgot to link to this in the PR, but this is necessary because of: alexreisner/geocoder#630

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoa, interesting. 👍

* Ruby 2.1.1
* Fixes #41 for realz
@jessieay jessieay merged commit a555e26 into master May 3, 2014
@jessieay jessieay deleted the jy-dd-device-token-in-header branch July 11, 2014 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Geocoder not work in Rails 4.1
2 participants