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 | |
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
3 files changed, 3 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 diff --git a/actioncable/lib/rails/generators/channel/templates/channel.rb b/actioncable/lib/rails/generators/channel/templates/channel.rb index 4bcfb2be4d..6cf04ee61f 100644 --- a/actioncable/lib/rails/generators/channel/templates/channel.rb +++ b/actioncable/lib/rails/generators/channel/templates/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_namespacing do -%> class <%= class_name %>Channel < ApplicationCable::Channel def subscribed |