简体   繁体   中英

Ruby on Rails push notifications

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

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.

You can easily do this with Faye gem in rails. There is a great railscast on this. Faye

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM