This project is archived and is in readonly mode.

#6415 new
Kedar Mhaswade

incorrect message on a "rails destroy" command invocation?

Reported by Kedar Mhaswade | February 11th, 2011 @ 07:40 PM

I created an incorrect migration. I tried:

rails destroy migration.

It prints:

  rails generate migration NAME [field:type field:type] [options]

Options: -o, --orm=NAME # Orm to be invoked

              # Default: active_record

Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend] # Run but do not make any changes -q, [--quiet] # Supress status output -s, [--skip] # Skip files that already exist
Create rails files for migration generator.</code>

This looks like a message for "generate".
Also, wouldn't it help if this message showed me the list of migrations created and asked me to pick the one I want to delete?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket