Wiping the database?

Does rails have a built in function that wipes (erases everything) in
the database? Something like rake db:purge?

rake db:reset

That did the trick, thanks!

Just wondering though, is there also a way to drop all the tables in
the database?

If you're using migrations, you could use

rake db:migrate VERSION=0

though I believe that still leaves the schema_info (or
schema_migrations) table there.


Come to REST with Rails, Oct 4, 2008 in Austin, TX

softiesonrails.com - blog
purpleworkshops.com - training
pragprog.com/titles/cerailn - Upcoming book, Rails for .NET Developers

Thanks. For anyone else wondering about how to do this, I found that
rake db:drop also works.