I read the help & tried the following command to skip generation of tests, assets & helper files
$ bin/rails generate controller home index --helper
Try using --no-
followed by optionname
:
rails generate controller home index --no-helper --no-assets --no-controller-specs --no-view-specs
If you want to change the default behavior every time you run the generator command, you can configure the defaults you would like in the application.rb file - see How can I make sure Rails doesn't generate spec tests for views and helpers?.