Posted by: Bob Ngu on: March 1, 2007
My RoR efforts have culminated in JiggyMe, check it out!
So it is easy enough to generate the static scaffold so you can modify the generated code for your own purpose
But then I decided I want to change the controller’s name, what to do? I figured I should be able to delete the scaffold just as easily. It turns out to be quite easy though that doesn’t seem to be a well-known fact, at least not to me. Anyway, here’s the command to do it
Substitute [model] and [controller] with the actual model and controller names you are using. Be warned though, it didn’t delete the partial file in the views/ directory so you need to delete that manually if need be.