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

1d4a45a695b48edc70359ca6d015e2f4?d=identicon&s=25 John Merlino (johnmerlino)
on 2014-03-19 05:14
(Received via mailing list)
I have another application publishing messages to redis server. Within
my
rails application, when a user clicks a button, I want a popup to
display
that shows live updates. I want the controller to publish notifications
to
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
actually
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
passenger?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.