Rails is using Active Admin. I forgot my initial ID and password. How do I add new admin users?
activeadmin ruby-on-rails
railsc
and enter the console.
AdminUser.create!(:email => '[email protected]', :password => 'password', :password_confirmation => 'password')
You can type it like this.
© 2024 OneMinuteCode. All rights reserved.