How (and whether) to populate rails application with initial data

后端 未结 13 1736
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 05:43

I\'ve got a rails application where users have to log in. Therefore in order for the application to be usable, there must be one initial user in the system for the first pe

13条回答
  •  情话喂你
    2020-12-04 06:22

    That Rake task can be provided by the db-populate plugin:

    http://github.com/joshknowles/db-populate/tree/master

提交回复
热议问题