rails generate controller without stylesheet code example
Example: Rails flags for tests assets and helpers
rails generate controller home index --no-helper --no-assets --no-controller-specs --no-view-specs
rails generate controller home index --no-helper --no-assets --no-controller-specs --no-view-specs