Q: Undefined method `server` for ActionCable:Module I am currently experiencing a problem with the implementation of ActionCable in my server.
I would like to know if you know where the problem comes from in the logs below.
I tried to require ActionCable in application.rb but it didn't work.

/home/kalimink/Bureau/happer-api/config/routes.rb:3:in 'block in top (required)>': undefined method server for ActionCable:Module (NoMethodError)

Routes.rb
Rails.application.routes.draw do
  devise_for :admin_users, ActiveAdmin::Devise.config
  mount ActionCable.server => "/cable"
  ActiveAdmin.routes(self)
  # more routes here
end

