[ruby] How to reverse a 'rails generate'

To reverse rails generate, use rails destroy:

rails destroy Model

See "rails destroy" for more information.