Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- validates_format_of :email, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i, :on => :create
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement