I have this testingdatabase which, by now, is stuffed with junk. Now I\'ve done a few Table.destroy_all commands in the rails console which deletes all records and dependencies
rake db:reset will perform rake db:drop db:setup. In other words, drop the database and setup the database again.
rake db:reset
rake db:drop db:setup
Source