Answer the question
In order to leave comments, you need to log in
Why might a method fail in rails?
I am using the gcm gem. I have a simple form, after confirmation, there is a redirect in the controller, there I send messages using gcm. The problem is: messages are simply not sent, BUT! when I stop the application with a byebug, copy and paste the same line from the application, press RET, then for some reason the messages come!
Answer the question
In order to leave comments, you need to log in
Better use https://github.com/rpush/rpush
My practice has shown that it is much better and holds the interface of several Apn services at once, etc.
Once I faced the same problem, switching to this gem helped.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question