aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2015-10-23 20:04:12 -0200
committerRafael França <rafaelmfranca@gmail.com>2015-10-23 20:04:12 -0200
commit81cc3cd85660321950c1f196b15682ee1053ee38 (patch)
tree7f058091584a10d13ed9e9a66163ab18ff732b0e
parent904b83b9c3d5dc1f1ceac1552dd5b80513aa3232 (diff)
parent123fc0dc676f3a114bdfaa168692cfd0445aee8c (diff)
downloadrails-81cc3cd85660321950c1f196b15682ee1053ee38.tar.gz
rails-81cc3cd85660321950c1f196b15682ee1053ee38.tar.bz2
rails-81cc3cd85660321950c1f196b15682ee1053ee38.zip
Merge pull request #46 from rajcybage/readme_fix
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 798ca5292f..5b29bcdecf 100644
--- a/README.md
+++ b/README.md
@@ -63,6 +63,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.