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

Code Example 1

rails drop model user

Learn ReactJs, React Native from akashmittal.com