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

User class email validation (Minor) #32

Open
stefanjbloom opened this issue Dec 6, 2024 · 0 comments
Open

User class email validation (Minor) #32

stefanjbloom opened this issue Dec 6, 2024 · 0 comments

Comments

@stefanjbloom
Copy link
Collaborator

stefanjbloom commented Dec 6, 2024

Minor Issue Description

As of right now, a user's email address can literally be anything as long as it is present and unique.

Solution

Simply refactor email attributes validation for format, as well as the current validations. We want to ensure theres an '@' and a '.com'
https://guides.rubyonrails.org/active_record_validations.html#format

Going Forward

While you're addressing this minor issue, think of any other validations that need to be tightened up.

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

1 participant