Real-time events with WebSockets and fallbacks?

Does Rails have anything that supports real-time events and communication with WebSockets and gracefully fallbacks to other techniques if WebSockets are not supported?

I would like the possibility to pub/sub events and messages for live chats and real time notifications.

I think this is about as close as you are going to get.

http://danknox.github.io/websocket-rails/

There is nothing built into rails for this as far as I know.

If you’re consider using Rails 4. A new feature comes out called ActionController::Live.

http://blog.remarkablelabs.com/2012/12/live-streaming-rails-4-countdown-to-2013

2013년 4월 9일 화요일 오후 5시 49분 34초 UTC+9, Johan Vauhkonen 님의 말:

Plug use the redis as a messaging system

2013년 4월 10일 수요일 오후 2시 15분 37초 UTC+9, 김성식 님의 말: