Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

validates_as_email_address

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validates_as_email_address

  • 0.2.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= validates_as_email_address

+validates_as_email_address+ adds support for validating the format/length of email addresses.

== Resources

API

  • http://api.pluginaweek.org/validates_as_email_address

Bugs

Development

Source

  • git://github.com/pluginaweek/validates_as_email_address.git

== 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

  • Rails 2.0 or later

== References

FAQs

Package last updated on 07 Mar 2010

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc