Hi,
I'd like to better understand the Spree Auth Devise gem and why exactly I need it. My RoR application is set up with an existing Devise Authentication and the user class is "User". I've followed the guide on customizing authentication and I have found that there seems to be a conflict between my Devise v 3.2.3 and spree_auth_devise 2-3-stable.
To sum up the problem:
When I have spree_auth_devise listed in my gemfile, the Spree.user_class that I edited to reference my User class gets overridden to "Spree::User". This leads to errors like undefined methods, since that Spree user class is foreign to my app. However, when I delete the spree_auth_devise gem from my gemfile, for some reason the Spree.user_class does become my "User" class and everything works fine.
When someone tries to pull down my repo with spree auth devise missing, they get an error because the migrations fail to run. This leads me to believe that I shouldn't just delete the spree_auth_devise gem as I suspect it will also prevent me from having a clean deploy to Heroku, Can anyone tell me more about what this gem does and why exactly it overrides my change in the initializers/spree.rb for my custom user class.
I've asked this question on Stack Overflow recently. Please take a look at it here for reference:
Thanks!