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

Add specs for email validator strict mode #1001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hasghari
Copy link
Contributor

@hasghari hasghari commented Jan 5, 2024

Strict mode for the email validator is not being enforced due to providing incorrect configuration.

@hasghari hasghari requested a review from sej3506 as a code owner January 5, 2024 18:33
@@ -150,7 +150,7 @@ module Validations

included do
validates :email,
email: { strict_mode: true },
email: { mode: :strict },
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/AlignArguments: Align the arguments of a method call if they span more than one line.

@sej3506
Copy link
Contributor

sej3506 commented May 17, 2024

@hasghari Thank you for your PR! Can you rebase? There was a similar, older PR I merged but your PR updates the specs further which I would appreciate to merge in. 🙇‍♀️

@hasghari
Copy link
Contributor Author

@sej3506 I've rebased my branch.

@hasghari hasghari changed the title Fix email validator strict mode Add specs for email validator strict mode May 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants