Forrest logo
back to context overview

rails-destroy

List of commands for rails-destroy:

  • rails-destroy:tldr:4a1f0 rails-destroy: Destroy a migration that creates Posts.
    $ rails destroy migration ${CreatePosts}
    try on your machine
    explain this command
  • rails-destroy:tldr:991cd rails-destroy: Destroy a controller named Posts.
    $ rails destroy controller ${Posts}
    try on your machine
    explain this command
  • rails-destroy:tldr:9b66b rails-destroy: List all available generators to destroy.
    $ rails destroy
    try on your machine
    explain this command
  • rails-destroy:tldr:a11d8 rails-destroy: Destroy a scaffold for a model named Post.
    $ rails destroy scaffold ${Post}
    try on your machine
    explain this command
  • rails-destroy:tldr:a994d rails-destroy: Destroy a model named Post.
    $ rails destroy model ${Post}
    try on your machine
    explain this command
back to context overview