> For the complete documentation index, see [llms.txt](https://simian114.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simian114.gitbook.io/blog/undefined/rubyonrails/undefined-4/undefined.md).

# 액션케이블 구체적으로 정리하기

## 액션케이블을 이용해서 실시간 통신 정리하기

프론트와 백엔드 간의 데이터 전송이 어떻게 이뤄지는지에 대한 순서를 집중적으로 파고들면 좋아보인다.

또한 백엔드에서는 **connection** 으로 만들어지는 **current\_user** 라는 개념이 존재한다. 이 **current\_user** 의 사용가능 범위도 확실히 알아보고 어떻게 connection 이 이뤄지는지에 대한 것도 알아보면 좋아보인다.

흠.. 그리고 가끔 액션케이블을 이용해서 구현한 **appearance-view** 에 유저가 정상적으로 나오지 않는 경우가 있다. 이유를 확실히 알아보고 문제를 해결하자.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://simian114.gitbook.io/blog/undefined/rubyonrails/undefined-4/undefined.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
