rails generate controller Home Index new create, would create the following set of files:
Fortunately, rails gives us the ability to customize its own generators so that we can disable these files from being generated. Once we place the below code in the
application.rb, it will stop the generation of these extra files.
rails generate controller Home Index new create, you will get less files. ]]>