Rake task to drop and reseed database in Rails
If you need to drop your databases and run migrations from scratch, here’s a simple rake task that will do this: rake db:reseed.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
If you need to drop your databases and run migrations from scratch, here’s a simple rake task that will do this: rake db:reseed.
Post a comment