From 123fc0dc676f3a114bdfaa168692cfd0445aee8c Mon Sep 17 00:00:00 2001 From: Rajarshi Das Date: Thu, 30 Jul 2015 13:23:36 +0530 Subject: [ci skip] small description on readme for identified_by --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 054e478332..13d528995f 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ module ApplicationCable end end ``` +Here `identified_by` is a connection identifier that can be used to find the specific connection again or later. +Note that anything marked as an identifier will automatically create a delegate by the same name on any channel instances created off the connection. Then you should define your `ApplicationCable::Channel` class in Ruby. This is the place where you put shared logic between your channels. -- cgit v1.2.3