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 V. :

Plug use the redis as a messaging system

2013 4 10 2 15 37 UTC+9, 輺 :