Is there a rake command to wipe out the data in the database tables?
How do I create a db:seed script to pre-fill data to my tables?
You can delete everything and recreate database + seeds with both:
rake db:reset: loads from schema.rbrake db:drop db:create db:migrate db:seed: loads from migrationsMake sure you have no connections to db (rails server, sql client..) or the db won't drop.
schema.rb is a snapshot of the current state of your database generated by:
rake db:schema:dump