Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 18th, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
validate :clean_email
def clean_email(email)
email_domain = :email.split("@")
if email_domain[1] != 'virginia.edu'
errors.add_to_base("Must provide a @virginia.edu email")
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Gerenciador de Senhas Version 0
Python | 2 min ago | 4.90 KB
Most Writer B (Novely)
Dart | 19 min ago | 0.29 KB
Popup Box
HTML | 26 min ago | 3.60 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 30 min ago | 0.37 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 48 min ago | 0.39 KB
conversão de dinheiro..
Python | 49 min ago | 0.88 KB
Most Writer A (Novely)
Dart | 1 hour ago | 0.29 KB
2024-05-04_stats.json
JSON | 2 hours ago | 4.90 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!