Skip to content

Commit 0d92d3b

Browse files
skipkayhilzzak
andauthored
Merge pull request rails#54728 from vsppedro/pedro/update-docs
docs: add Solid Cable adapter configuration steps Co-authored-by: zzak <[email protected]>
2 parents 1eac7f2 + c5227df commit 0d92d3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guides/source/action_cable_overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,10 @@ The async adapter is intended for development/testing and should not be used in
751751
752752
NOTE: The async adapter only works within the same process, so for manually triggering cable updates from a console and seeing results in the browser, you must do so from the web console (running inside the dev process), not a terminal started via `bin/rails console`! Add `console` to any action or any ERB template view to make the web console appear.
753753

754+
##### Solid Cable Adapter
755+
756+
The Solid Cable adapter is a database-backed solution that uses Active Record. It has been tested with MySQL, SQLite, and PostgreSQL. Running `bin/rails solid_cable:install` will automatically set up `config/cable.yml` and create `db/cable_schema.rb`. After that, you must manually update `config/database.yml`, adjusting it based on your database. See [Solid Cable Installation](https://github.com/rails/solid_cable?tab=readme-ov-file#installation).
757+
754758
##### Redis Adapter
755759

756760
The Redis adapter requires users to provide a URL pointing to the Redis server.

0 commit comments

Comments
 (0)