We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I'm trying to really_destroy! user I receive:
really_destroy!
Traceback (most recent call last): 2: from (irb):18 1: from app/models/spree/user_decorator.rb:62:in `scramble_email_and_password' RuntimeError (Can't modify frozen hash)
Line 62 is:
self.email = 'deleted_' + SecureRandom.uuid.first(5) + email
What if we move scramble_email_and_password to before_destroy callback and don't call save in it?
scramble_email_and_password
save
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I'm trying to
really_destroy!
user I receive:Line 62 is:
What if we move
scramble_email_and_password
to before_destroy callback and don't callsave
in it?The text was updated successfully, but these errors were encountered: