aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajarshi Das <rajarshi2576@gmail.com>2015-07-30 13:23:36 +0530
committerRajarshi Das <rajarshi2576@gmail.com>2015-07-30 17:27:35 +0530
commit123fc0dc676f3a114bdfaa168692cfd0445aee8c (patch)
tree26f4063b233b55d46d4b7a7329f5de13791aafcd
parent0c30d87868a8b59c47acbc695ef5e37d6361b3cc (diff)
downloadrails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.tar.gz
rails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.tar.bz2
rails-123fc0dc676f3a114bdfaa168692cfd0445aee8c.zip
[ci skip] small description on readme for identified_by
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
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.