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
Since this commit rails/rails@70dc990 the code to add errors to the record doesn't work anymore.
Current code:
nobspw/lib/active_model/validations/password_validator.rb
Line 22 in 21144cb
How it should work with Rails 7:
pc.weak_password_reasons.each do |reason| record.errors.add(attribute, get_message(reason)) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since this commit rails/rails@70dc990
the code to add errors to the record doesn't work anymore.
Current code:
nobspw/lib/active_model/validations/password_validator.rb
Line 22 in 21144cb
How it should work with Rails 7:
The text was updated successfully, but these errors were encountered: