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

后端 未结 13 1740
隐瞒了意图╮
隐瞒了意图╮ 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:26

    I guess the best option is number 3, mainly because that way there will be no default user which is a great way to render otherwise good security useless.

提交回复
热议问题