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

Rails 5 tutorial chat app - can we deploy it to AWS?

December 30, 2015

The simple chat example that DHH built in his recent screencast using ActionCable in Rails 5, is available on GitHub here: But can we get this working on an Elastic Beanstalk single instance - with no load balancer ? => Initially yes, then no, then yes! On a development pc:Action Cable works with redis so to run the chat app you will need to install redis on your local machine: ... Read more

© 2020 Keith P | Follow on Twitter | Git