wacaw/gcm_on_rails — pull request #1 by thomasgallagher (2013-04-04 17:17:44+00:00)
Title: Splits devices into slices of 1000 to conform to GCM guidelines

http://developer.android.com/training/cloudsync/gcm.html

Feel free to remove the logging (left it in as there are no tests), just tested it on our production server and it worked with 10,000 recipients over 10 requests.

Note: It's only returning the response of the last request to Google.