Reputation: 737
Is there any gem, anything I can use to push notifications from server to the web application in a Rails App?
This means not having to call an ajax request from time to time.
:: UPDATE :: Forgot to mention one important requirement which is that I'm using Rails 3.2
Upvotes: 3
Views: 7596
Reputation: 6754
You can easily do this with Faye gem in rails. There is a great railscast on this. Faye
Upvotes: 1
Reputation: 16507
You can use websockets for ruby to establish the client-server communication. For example use the websocket gem for it.
Also, you can read this topic.
Upvotes: 1