Forum: Ruby on Rails redis, pub/sub, rails 3, phusion passenger

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4e052fdd89cd9ada89361a2ea15c2d8c?d=identicon&s=25 John M. (johnmerlino)
on 2014-03-19 05:14
(Received via mailing list)
I have another application publishing messages to redis server. Within
rails application, when a user clicks a button, I want a popup to
that shows live updates. I want the controller to publish notifications
redis, and I want my javascript to subscribe to those events and respond
when it finds a suitable channel. What I do not know how to do is
keep a control open like that: to continuously publish messages when it
finds them on redis. Is this possible to do in rails 3/phusion
This topic is locked and can not be replied to.