Skip to content

Commit 93ee6a4

Browse files
committed
Fix Action Cable capitalization in Rails guide
Corrects ActionCable to Action Cable throughout the documentation to match Rails naming conventions.
1 parent 185b2b8 commit 93ee6a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/rails.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,9 @@ This setup allows for:
579579
2. Background processing to prevent request timeouts
580580
3. Automatic persistence of all messages and tool calls
581581

582-
### Handling Message Ordering with ActionCable
582+
### Handling Message Ordering with Action Cable
583583

584-
ActionCable does not guarantee message order due to its concurrent processing model. Messages are distributed to worker threads that deliver them to clients concurrently, which can cause out-of-order delivery (e.g., assistant responses appearing above user messages). Here are the recommended solutions:
584+
Action Cable does not guarantee message order due to its concurrent processing model. Messages are distributed to worker threads that deliver them to clients concurrently, which can cause out-of-order delivery (e.g., assistant responses appearing above user messages). Here are the recommended solutions:
585585

586586
#### Option 1: Client-Side Reordering with Stimulus (Recommended)
587587

@@ -672,7 +672,7 @@ Update your views to use the controller:
672672

673673
#### Understanding the Root Cause
674674

675-
As confirmed by the ActionCable maintainers, ActionCable uses a threaded executor to distribute broadcast messages, so messages are delivered to connected clients concurrently. This is by design for performance reasons.
675+
As confirmed by the Action Cable maintainers, Action Cable uses a threaded executor to distribute broadcast messages, so messages are delivered to connected clients concurrently. This is by design for performance reasons.
676676

677677
The most reliable solution is client-side reordering with order information in the payload. For applications requiring strict ordering guarantees, consider:
678678
- Server-sent events (SSE) for unidirectional streaming

0 commit comments

Comments
 (0)