Rails ActiveAdmin How To Add Admin Users Through Console

Do you like this?

Summary:
This short post shows you the steps to add admin users through console for ActiveAdmin


Content:

rails c # opening rails console
u=AdminUser.new(:email => "admin@example.com", :password => 'password', 
	:password_confirmation => 'password')
u.save

 
comments powered by Disqus