エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Send auth_token for authentication to ActionCable
module ApplicationCable class Connection < ActionCable::Connection::Base identified_by :current_u... module ApplicationCable class Connection < ActionCable::Connection::Base identified_by :current_user def connect #puts params[:auth_token] self.current_user = find_verified_user logger.add_tags 'ActionCable', current_user.name end end end I don't use web as end point for action cable, so I want to use auth_token for authentication. By default action cable use session user id for authentication. Ho



2020/08/31 リンク