Check out example codes for "rails undo generate model". It will help you in understanding the concepts better.

Code Example 1

rails destroy controller lalala
rails destroy model yadayada
rails destroy scaffold hohoho

Learn ReactJs, React Native from akashmittal.com