diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2015-10-23 20:04:12 -0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2015-10-23 20:04:12 -0200 |
commit | 81cc3cd85660321950c1f196b15682ee1053ee38 (patch) | |
tree | 7f058091584a10d13ed9e9a66163ab18ff732b0e | |
parent | 904b83b9c3d5dc1f1ceac1552dd5b80513aa3232 (diff) | |
parent | 123fc0dc676f3a114bdfaa168692cfd0445aee8c (diff) | |
download | rails-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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |