39f80884db
Return execution of observers in seeds. Mute email sending to letter opening in you browser. Added `rake dev` task to reset db and add seeds. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
14 lines
292 B
Ruby
14 lines
292 B
Ruby
User.seed(:id, [
|
|
{
|
|
id: 1,
|
|
name: "Administrator",
|
|
email: "admin@local.host",
|
|
username: 'root',
|
|
password: "5iveL!fe",
|
|
password_confirmation: "5iveL!fe",
|
|
admin: true,
|
|
projects_limit: 100,
|
|
theme_id: Gitlab::Theme::MARS,
|
|
confirmed_at: DateTime.now
|
|
}
|
|
])
|