我在之前的项目中使用了一点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"
我不明白为什么这似乎从我的上一个项目延续到我所有的其他项目中。
我该如何解决这个问题?