RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: chat xAjax x
ActionController::Live
Episode #401Jan 19, 2013121 comments

ActionController::Live

Server-sent events allow you to trigger events on the browser from a persistent connection to the server. This requires Rails stream data which can be done through ActionController::Live, a feature upcoming in Rails 4. (14 minutes)
Private Pub
Episode #316Jan 16, 2012133 comments

Private Pub

Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScript or supply a hash for use with JSON. (7 minutes)