0.01
The project is in a healthy, maintained state
Next-gen version of Action Cable
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 7.0, <= 8.1
>= 7.0, <= 8.1
~> 2.0
~> 2.6
 Project Readme

Action Cable Next

This gem provides the functionality of the server adapterization PR: rails/rails#50979.

See the PR description for more information on the purpose of this refactoring.

Usage

Add this line to your application's Gemfile before Rails or Action Cable:

gem "actioncable-next"

gem "rails", "~> 7.0"

Then, you can use Action Cable as before. Under the hood, the new implementation would be used.

RSpec support

This gem also includes the corresponding patch for RSpec Rails (see PR). You MUST activate it explicitly by adding the following line to your spec/rails_helper.rb:

# after rspec-rails is loaded
require "rspec/rails"
require "action_cable/next/rspec"