rails-broadcasting
OfficialEnable real-time UI with Turbo Streams.
Authorrubakas
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Turbo Streams and Action Cable enable real-time UI updates in Rails apps, eliminating stale views and manual refreshes when data changes.
Core Features & Use Cases
- Automatic model broadcasting with broadcasts_refreshes to push updates on changes
- Morph-based updates with broadcast_morph_to to preserve form state and scroll position
- Flexible targeting: instance-based, collection-based, nested streams, and user-specific channels
- Comprehensive methods: append, prepend, replace, update, remove, morph
- Performance considerations: conditional broadcasting, debouncing, and background jobs via Active Job
- Action Cable as the WebSocket backbone for live collaboration and notifications
Quick Start
Include @agent-notes/rails/index.md in your CLAUDE.md to enable Rails broadcasting patterns.
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: rails-broadcasting Download link: https://github.com/rubakas/agent-notes/archive/main.zip#rails-broadcasting 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.