Core Modules

Active Record

--skip-active-record [-O]

Cable

--skip-action-cable [-C]

# 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

--skip-action-mailer [-M]

ActionMailer will add a folder: test/mailers

Mailbox

--skip-action-mailbox

Storage

--skip-active-storage

ActiveStorage will add two folders: storage and tmp/storage

Text

--skip-action-text

Last updated