Test Account
10/12/2022, 4:28 PMsolidus_auth_devise
working if I have an existing User
class?
Spree::Auth::Engine.load_seed if defined?(Spree::Auth)
from db/seeds.rb
results in:
Create the admin user (press enter for defaults).
Email [admin@example.com]:
Password [test123]:
rails aborted!
NameError: undefined local variable or method `spree_api_key' for #<Spree::User id: nil, email: nil, persistence_token: nil, perishable_token: nil, last_request_at: nil, login: nil, ship_address_id: nil, bill_address_id: nil, created_at: nil, updated_at: nil, authentication_token: nil, deleted_at: nil>
I tried rails generate spree:custom_user User
and then re-running rails db:seed
but to no avail. I also found https://github.com/solidusio/solidus/issues/681 from 2016 but it remains unsolved.elia
10/12/2022, 4:31 PM--with-authentication=none
and then run bin/rails spree:custom_user User
Jared Norman
Test Account
10/12/2022, 4:32 PMTest Account
10/12/2022, 4:41 PMsolidus_starter_frontend
requires it to be installed.Test Account
10/12/2022, 4:45 PMUser
and install all this Solidus stuff before that.elia
10/12/2022, 4:47 PMtemplate.rb
fileTest Account
10/12/2022, 4:52 PM