Check out example codes for "rails generate controller no respec". It will help you in understanding the concepts better.

Code Example 1

rails generate controller home index  --no-helper --no-assets --no-controller-specs --no-view-specs

rails g controller assets_garments --skip-test-framework --skip-assets --skip-helper

Learn ReactJs, React Native from akashmittal.com