Real-time events with WebSockets and fallbacks?

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

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

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

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

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, 輺 :