Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solidus 3 support #213

Open
vassalloandrea opened this issue Jun 24, 2021 · 5 comments
Open

Solidus 3 support #213

vassalloandrea opened this issue Jun 24, 2021 · 5 comments

Comments

@vassalloandrea
Copy link

Support Solidus 3 removing acts_as_paranoid from the user model.
Also, the Spree::ParanoiaDeprecations doesn't exist anymore on Solidus 3.0.1.

https://github.com/solidusio/solidus_auth_devise/blob/master/app/models/spree/user.rb

@AdnanTheExcellent
Copy link

any updates on this? trying to update to solidus 3 and im encountering this issue

@jarednorman
Copy link
Member

I thought #209 fixed this. Did it not?

@AdnanTheExcellent
Copy link

AdnanTheExcellent commented Feb 15, 2022

it does not. since paranoia was removed as a dependency, you'll get undefined method acts_as_paranoid if paranoia is not in your gemfile.

@jarednorman
Copy link
Member

jarednorman commented Feb 15, 2022

@AdnanTheExcellent Paranoia was removed, but Solidus 3 has Spree::SoftDeletable, so the conditional should be true and acts_as_paranoid should never been called. Is there maybe some issue with loading where the concern isn't yet defined?

@AdnanTheExcellent
Copy link

AdnanTheExcellent commented Feb 16, 2022

I'm not sure why but it was erroring before when i tried to start my server and worked when i commented out those paranoia lines. i switched back to 2.5.4 and it seems to be working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants