rails generate controller without view ,test code example
Example: rails generate controller without view ,test
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