11 lines
197 B
Ruby
11 lines
197 B
Ruby
# Admin account
|
|
admin = User.create(
|
|
:email => "admin@local.host",
|
|
:name => "Administrator",
|
|
:password => "5iveL!fe",
|
|
:password_confirmation => "5iveL!fe"
|
|
)
|
|
|
|
admin.admin = true
|
|
admin.save!
|