ActionCable NoMethod Error
问题 I've added simple ActionCable to my toy rails app and discovered that I'm getting Error: ProductsControllerTest#test_should_update_product: NoMethodError: undefined method server' for ApplicationCable:Module app/controllers/products_controller.rb:53:in block in update' app/controllers/products_controller.rb:44:in `update' test/controllers/products_controller_test.rb:44:in `block in <class:ProductsControllerTest>' when I start my rails unit tests. It's the only time when error occurs. My code: