| Use Case | Command | Description |
|---|---|---|
| Generate a new channel | rails generate channel Chat |
Create a channel class for WebSocket communication |
| Broadcast to a stream | ActionCable.server.broadcast("room", {message: "Hello"}) |
Send a message to all subscribers of a stream |
| Subscribe to a stream | stream_from "room" |
Subscribe the current connection to a named stream |
gem_versionversionserverGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 12:20 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format