Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这是一个非常简单的问题,但我不知道在哪里更改活动管理员在初始安装时为您提供的登录名/密码。
它在lib/generators/active_admin/devise/devise_generator.rb。如果您已经运行了这些,请查看db/migrate/迁移devise。“密码”的默认值应该在那里。
lib/generators/active_admin/devise/devise_generator.rb
db/migrate/
devise
为此搜索您的迁移目录。
AdminUser.create!(:email =>
它将具有默认的用户名和密码。
PS..程序员记事本是编辑ruby的一个很棒的windows工具。不,我没有库存。:)