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

AO3-4817 AdminBlacklistedEmail Strong Parameters #2719

Merged
merged 1 commit into from Jan 29, 2017

Conversation

dondenoncourt
Copy link
Contributor

# Check if an email is
def self.is_blacklisted?(email_to_check)
AdminBlacklistedEmail.where(email: AdminBlacklistedEmail.canonical_email(email_to_check)).exists?
end

Choose a reason for hiding this comment

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

Extra empty line detected at class body end.

@dondenoncourt dondenoncourt changed the title enforce strong params for AdminBlacklistedEmail AO3-4817 enforce strong params for AdminBlacklistedEmail Jan 24, 2017
@dondenoncourt dondenoncourt changed the title AO3-4817 enforce strong params for AdminBlacklistedEmail AO3-4817 AdminBlacklistedEmail Strong Parameters Jan 24, 2017
Copy link
Member

@sarken sarken left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@zz9pzza zz9pzza merged commit 6507472 into otwcode:master Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants