Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @rails/actioncable with all npm packages installed. Try it out:

var actioncable = require("@rails/actioncable")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@rails/actioncable v6.0.3

WebSocket framework for Ruby on Rails.

Action Cable – Integrated WebSockets for Rails

Action Cable seamlessly integrates WebSockets with the rest of your Rails application. It allows for real-time features to be written in Ruby in the same style and form as the rest of your Rails application, while still being performant and scalable. It's a full-stack offering that provides both a client-side JavaScript framework and a server-side Ruby framework. You have access to your full domain model written with Active Record or your ORM of choice.

You can read more about Action Cable in the Action Cable Overview guide.


API documentation is at:


Bug reports for the Ruby on Rails project can be filed here:


Feature requests should be discussed on the rails-core mailing list here:

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free