ActionCable从每个rails项目开始

时间:2017-06-11 21:45:22

标签: ruby-on-rails actioncable

我在之前的项目中使用了一点ActionCable,现在每当我在新项目中运行rails s时,我都会收到以下错误:

Started GET "/cable" for ::1 at 2017-06-11 16:38:19 -0500
ActiveRecord::SchemaMigration Load (0.4ms)  SELECT 
"schema_migrations".* FROM "schema_migrations"
Started GET "/cable/" [WebSocket] for ::1 at 2017-06-11 16:38:19 -0500
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, 
HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
Subscription class not found: "ProductsChannel"

我不明白为什么这似乎从我的上一个项目延续到我所有的其他项目中。

我该如何解决这个问题?

0 个答案:

没有答案