Action Cable: components checklist
January 27, 2016
Here are the minimum code changes required to provide websocket capability in a Rails 5.0.0 app. This is based on a minimal alert app.
Disclaimer: Of course this is all rapidly changing in Rails. This was correct for rails master branch at the time of writing this post.
Prerequisites: gemfile: add em-hiredis, redis, and make sure you have puma 2.15.3 or greater ... gem 'rails', '>= 5.0.0.beta1.1' gem 'em-hiredis' gem 'redis' gem 'puma', '>= 2.
...
Read more