action-cable
OfficialEnable real-time Rails apps with ActionCable.
System Documentation
What problem does it solve?
ActionCable provides real-time WebSocket support for Rails applications, enabling server-initiated updates to be pushed to connected clients without page reloads.
Core Features & Use Cases
- Real-time updates: push messages or data changes to subscribed clients.
- Live notifications and dashboards: keep users informed with up-to-date information.
- Channel-based architecture: organize logic in dedicated connections and channels and integrate with Turbo Streams for DOM updates.
Quick Start
Set up ActionCable by defining a connection at app/channels/application_cable/connection.rb, creating channels under app/channels, and wiring a client-side consumer in app/javascript/initializers/actioncable.js. Deploy subscriptions in your views or JavaScript to receive broadcasts and render updates, optionally using Turbo Streams for automatic DOM updates.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: action-cable Download link: https://github.com/RoleModel/rolemodel-skills/archive/main.zip#action-cable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.