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