
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
validates_as_email_address
Advanced tools
= validates_as_email_address
+validates_as_email_address+ adds support for validating the format/length of email addresses.
== Resources
API
Bugs
Development
Source
== Description
Consistently reliable email address validations are difficult to find and hard to choose as there are far too many implementations in various programming languages. This plugins builds on Thijs van der Vossen's validates_as_email by adding advanced validation option support and also validating the length of the email address.
== Usage
=== Example
class Person < ActiveRecord::Base validates_as_email_address :email, :on => :create end
== Testing
Before you can run any tests, the following gem must be installed:
To run against a specific version of Rails:
rake test RAILS_FRAMEWORK_ROOT=/path/to/rails
== Dependencies
== References
FAQs
Unknown package
We found that validates_as_email_address demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.