dondeng/gcm_on_rails — pull request #15 by greg-barnett (2012-10-24 22:56:53+00:00)
Title: fix bug with invalid json being generated

This fixes a bug where the JSON being sent to Google was missing 2 attributes. Google would return a status code of 400, indicating there was a problem with the JSON. Note: I haven't tested the case where Notification.data is nil.