CmdID

CmdID / Commands

rails-destroy

Destroy Rails resources. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all available generators to destroy

rails destroyIdentify

Destroy a model named Post

rails destroy model PostIdentify

Destroy a controller named Posts

rails destroy controller PostsIdentify

Destroy a migration that creates Posts

rails destroy migration CreatePostsIdentify

Destroy a scaffold for a model named Post

rails destroy scaffold PostIdentify