FaqRailsGenerateDialogRunDeletes
Can the IDE's generate dialog also run the "delete" operations?
In NetBeans 6.5 and later the generate dialog has a "destroy" option. In earlier versions you have to do the delete operations manually or run the generator from the command line.

