Core Modules
Active Record
Cable
# app/channels/application_cable/channel.rb
module ApplicationCable
class Channel < ActionCable::Channel::Base
end
end# app/channels/application_cable/connection.rb
module ApplicationCable
class Connection < ActionCable::Connection::Base
end
end// app/javascript/channels/consumer.js
import { createConsumer } from '@rails/actioncable'
export default createConsumer()Mailer
Mailbox
Storage
Text
Last updated