action-cable
Installation
SKILL.md
ActionCable Setup
Overview
ActionCable integrates WebSockets with Rails to enable real-time features. This guide covers the basic setup in this application.
Core Components
1. Connection (app/channels/application_cable/connection.rb)
The connection authenticates and authorizes the WebSocket connection using Devise/Warden.
module ApplicationCable
class Connection < ActionCable::Connection::Base
identified_by :current_user