How to seed the production database using the Capistrano gem?

后端 未结 6 1982
不思量自难忘°
不思量自难忘° 2021-01-30 01:47

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

6条回答
  •  梦毁少年i
    2021-01-30 02:11

    After a discussion with capistrano-rails gem authors I decided to implement this kind of tasks in a separate gem. I think this helps to follow the DRY idea and not implementing the same task over and over again.

    I hope it helps you: https://github.com/dei79/capistrano-rails-collection

提交回复
热议问题