Undoing a rails scaffold

What is the best way of undoing a rails scaffold with associated views?

If you create a scaffold like this

rails generate scaffold HighScore game:string score:integer

you can destroy it with

rails destroy scaffold HighScore

and all associated views, models, controllers, etc that came with the generated scaffold will be removed.

1 Like

Chale see how I’m stunt and confused watch and seeing explanations I can’t I understand in two decades. The computer literature on here is something I can’t comprehend but I know I will learn something new relating to this one day. Mr. Siaw, you are a great guy and a great brain, keep soaring high