Some notes and links on WebSockets with Rails

Here's some useful points on using WebSockets with Rails

I have been doing some research on getting WebSockets running with Rails.

I wanted to share some links and notes I have found/made to make it easier for folk who will be doing their own research at some time.

ActionController::Live

This is the new Rails 4 way of using sockets. Personally, I don't like the syntax we have to use for ActionController::Live

Websocket-Rails

This is a gem for getting sockets running on rails. I like it, the syntax is nice and clean and can be extended to use Redis as a go between for any data.

Other Solutions

There are other ways of achieving this, using node is one way a lot of solutions go for using things like socket.io

Have you any experience?

I would love to chat with anyone who has had any experience with this, any great gems or samples I should be looking at?


Recent posts View all

Ruby

Forcing a Rails database column to be not null

How you can force a table column to always have something in it with Rails

Writing Marketing

We've deleted an article's worth of unhelpful words

We've improved several pages across our site by removing words that add no value, and often detract from the article.