Skip to content

Commit

Permalink
Remove mention of ActionCable in README.md
Browse files Browse the repository at this point in the history
Since it is no longer supported since Rails 5.
  • Loading branch information
macournoyer authored Mar 5, 2024
1 parent b428f6c commit 3f37538
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,6 @@ thin start

Browse the `example` directory for sample applications.

## Usage with Rails Action Cable

To use Thin with Action Cable, add the following to your `Gemfile`:

```ruby
gem 'faye-websocket'
gem 'thin' # If not already done
```

Create a `config/initializers/thin_action_cable.rb`:

```ruby
Rails.application.config.action_cable.use_faye = true
Faye::WebSocket.load_adapter 'thin'
```

### CLI

Use a rackup (config.ru) file and bind to localhost port 8080:
Expand Down

0 comments on commit 3f37538

Please sign in to comment.