diff options
author | Rajarshi Das <rajarshi2576@gmail.com> | 2015-07-30 13:23:36 +0530 |
---|---|---|
committer | Rajarshi Das <rajarshi2576@gmail.com> | 2015-07-30 17:27:35 +0530 |
commit | 123fc0dc676f3a114bdfaa168692cfd0445aee8c (patch) | |
tree | 26f4063b233b55d46d4b7a7329f5de13791aafcd | |
parent | 0c30d87868a8b59c47acbc695ef5e37d6361b3cc (diff) | |
download | rails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.tar.gz rails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.tar.bz2 rails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.zip |
[ci skip] small description on readme for identified_by
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |