如何为我在 heroku 上疯狂运行的应用程序创建一个管理员。
这是我正在尝试但似乎不起作用的方法。
new_admin=Spree::User.create(:email=>"test@gmail.com",
:password =>"testtest", :password_confirmation =>"testtest")
我要去heroku rails console
,并尝试它。
请帮忙。
如何为我在 heroku 上疯狂运行的应用程序创建一个管理员。
这是我正在尝试但似乎不起作用的方法。
new_admin=Spree::User.create(:email=>"test@gmail.com",
:password =>"testtest", :password_confirmation =>"testtest")
我要去heroku rails console
,并尝试它。
请帮忙。