Real-time events with WebSockets and fallbacks?

146 views
Skip to first unread message

Johan Vauhkonen

unread,
Apr 9, 2013, 4:49:34 AM4/9/13
to rubyonra...@googlegroups.com
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.

Jeffrey Jones

unread,
Apr 9, 2013, 5:48:57 AM4/9/13
to rubyonra...@googlegroups.com
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.
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/V90ohj6PKxAJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

김성식

unread,
Apr 10, 2013, 1:15:37 AM4/10/13
to rubyonra...@googlegroups.com
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 님의 말:

김성식

unread,
Apr 10, 2013, 1:29:58 AM4/10/13
to rubyonra...@googlegroups.com

Plug use the redis as a messaging system


2013년 4월 10일 수요일 오후 2시 15분 37초 UTC+9, 김성식 님의 말:
Reply all
Reply to author
Forward
0 new messages