Rails 5: Action Cable Demo

DHH
1 min readDec 21, 2015

--

Action Cable is the highlight feature of Rails 5. It makes it very easy to work with WebSockets in Rails. You have access to your full domain model and everything is neatly abstracted on both the server and client side.

Action Cable is what drives the chat, notification, and other live features in Basecamp 3. It was extracted directly from that use.

I made a brief tutorial showing how it works. Enjoy!

--

--

DHH

Creator of Ruby on Rails, Founder & CTO at Basecamp (formerly 37signals), NYT Best-selling author of REWORK and REMOTE, and Le Mans class-winning racing driver.