dondeng / gcm_on_rails

Gcm on Rails (Google Cloud Messaging for Android on Rails)
MIT License
79 stars 48 forks source link

Fix for Issue 10 #11

Closed barce closed 12 years ago

barce commented 12 years ago

Hi, this is a pretty hacky fix for the issue here:

https://github.com/dondeng/gcm_on_rails/issues/10

Please advise on ways I should think of refactoring this, or just accept the pull request. :)

Cheers, Barce

dondeng commented 12 years ago

Please have a look at comments on thread. https://github.com/dondeng/gcm_on_rails/issues/10

dondeng commented 12 years ago

@barce I just pushed v0.1.3 which addresses the nil 'message' object in the json issue. This still seems like a 'hack' to me and I have opened a seperate issue https://github.com/dondeng/gcm_on_rails/issues/13 to track what the reason for the nil 'message' actually is.