RailsCasts Pro episodes are now free!

Learn more or hide this


#401 ActionController::Live pro

Jan 19, 2013 | 14 minutes | Ajax, Rails 4.0
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.
  • Download:
  • source codeProject Files in Zip (73.2 KB)
  • mp4Full Size H.264 Video (31.3 MB)
  • m4vSmaller H.264 Video (17 MB)
  • webmFull Size VP8 Video (19.3 MB)
  • ogvFull Size Theora Video (41.3 MB)