diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-16 18:23:11 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-12-16 18:23:11 +0100 |
commit | 0625d77784a0e62b491ad730e4ff8566686acf81 (patch) | |
tree | f8fda8110a3430bd57c8853e45e8ae663283f250 /actioncable/lib/rails/generators/channel/templates/application_cable | |
parent | 8e9b7c0405ba9e74e656145eeee0c27a68df46ca (diff) | |
download | rails-0625d77784a0e62b491ad730e4ff8566686acf81.tar.gz rails-0625d77784a0e62b491ad730e4ff8566686acf81.tar.bz2 rails-0625d77784a0e62b491ad730e4ff8566686acf81.zip |
Note that changes to the cable setup requires restarting the server
Diffstat (limited to 'actioncable/lib/rails/generators/channel/templates/application_cable')
-rw-r--r-- | actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb | 1 | ||||
-rw-r--r-- | actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb b/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb index b44bbb4aab..1d77819a0f 100644 --- a/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb +++ b/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb @@ -1,3 +1,4 @@ +# Be sure to restart your server when you modify this file. Action Cable runs in an EventMachine loop that does not support auto reloading. module ApplicationCable class Channel < ActionCable::Channel::Base # Logic shared between all channels diff --git a/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb index be6fdf7ce4..5aab33eb33 100644 --- a/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb +++ b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb @@ -1,3 +1,4 @@ +# Be sure to restart your server when you modify this file. Action Cable runs in an EventMachine loop that does not support auto reloading. module ApplicationCable class Connection < ActionCable::Connection::Base identified_by :current_user |