ruby on rails - Multiple rails_admin -
how configure rails_admin multiple admins. how create multiple admins using rails_admin gem.i created single admin rails application.i don't know how create , configure admin.
please find below steps create new admin user.
go terminal project folder resides run following command
$rails console
you following console this
1.9.3-p448 :001 >
run following create statement on console
admin = adminuser.create! |u| u.email = 'sample@sample.com' u.password = 'password' u.password_confirmation = 'password' end
you can specify email , password here
this create new admin user rails_admin
Comments
Post a Comment