I am using Ruby on Rails 3.0.9 and I would like to seed the production database in order to add some record without re-building all the database (that is, with
cap deploy:seed
should basically be a reference to rake db:seed
. It should not delete existing data, unless you specified it to do so in your seed.rb
.
Best assumption for the word "Reload" is that :seed
is a stateless command, I does not automatically know where it left off, like regular rails migrations. So technically you would always be "reloading" the seed, every time you run it. ...A wild guess, but it sounds good, no?
Please view Javier Vidal
answer below