O'Reilly logo

Rails 5 Revealed by Alan Bradburne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Alan Bradburne 2016

Alan Bradburne, Rails 5 Revealed, 10.1007/978-1-4842-1709-2_6

6. Action Cable

Alan Bradburne

(1)Reading, UK

Action Cable is one of the most exciting features of Rails 5. Action Cable allows you to easily add real-time, full-duplex communication to you Rails application, allowing us to build pages that are updated dynamically.

Action Cable uses the WebSocket protocol to enable our server to send real-time messages to individual users or broadcast messages to all currently online users. It provides a very “Rails-like” interface for the entire WebSocket front-end and back-end code, making it very easy for existing Rails developers to add functionality that was previously complex or simply not possible with just Rails.

WebSocket ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required