Rails Generate Help
cheatsheet
rails
Rails Generate Help
Usage: rails generate GENERATOR [args] [options]
General options:
-h, [--help] # Print generator's options and usage
-p, [--pretend] # Run but do not make any changes
-f, [--force] # Overwrite files that already exist
-s, [--skip] # Skip files that already exist
-q, [--quiet] # Suppress status output
Please choose a generator below.
Rails:
application_record
benchmark
channel
component
controller
generator
helper
integration_test
jbuilder
job
mailbox
mailer
migration
model
resource
responders_controller
scaffold
scaffold_controller
system_test
task
ActiveRecord:
active_record:application_record
active_record:devise
active_record:multi_db
Actor:
actor
Annotate:
annotate:install
Avo:
avo:action
avo:card:chartkick
avo:card:metric
avo:card:partial
avo:controller
avo:dashboard
avo:eject
avo:field
avo:filter
avo:install
avo:locales
avo:resource
avo:resource_tool
avo:tool
avo:version
Bullet:
bullet:install
Devise:
devise
devise:controllers
devise:i18n:locale
devise:i18n:views
devise:install
devise:views
Erb:
erb:component
Erd:
erd:install
FactoryBot:
factory_bot:model
Haml:
haml:component
Locale:
locale:component
MetaTags:
meta_tags:install
Mongoid:
mongoid:devise
Noticed:
noticed:delivery_method
noticed:model
noticed:notification
Preview:
preview:component
Pundit:
pundit:install
pundit:policy
RackProfiler:
rack_profiler:install
Responders:
responders:install
Rspec:
rspec:channel
rspec:component
rspec:controller
rspec:feature
rspec:generator
rspec:helper
rspec:install
rspec:integration
rspec:job
rspec:mailbox
rspec:mailer
rspec:model
rspec:policy
rspec:request
rspec:scaffold
rspec:system
rspec:view
Sidekiq:
sidekiq:job
Slim:
slim:component
Stimulus:
stimulus
stimulus:component
Tailwindcss:
tailwindcss:component
TestUnit:
test_unit:channel
test_unit:component
test_unit:controller
test_unit:generator
test_unit:helper
test_unit:install
test_unit:integration
test_unit:job
test_unit:mailbox
test_unit:mailer
test_unit:model
test_unit:plugin
test_unit:policy
test_unit:scaffold
test_unit:system