drop_table(table_name, options = {}) public

Drops a table from the database.

Show source
Register or log in to add new notes.
April 8, 2009
2 thanks

use create table :force => true

if you want to drop a table before creating one in a migration, use the :force => true option of the create_table method