Sha256: 7b6fc3ea58d34dde4ff2ef5e11d71f73341375554dbf3ec52549494842cecdeb

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

# Validates-email gem
Small gem for rails adding validates_email functionality to your Active record models.

## Installation
`gem install validates-email`

## Usage examples

You can write that

    class User < ActiveRecord::Base
      attr_accessible :email, :name

      validates_email :email, :message => 'custom invalid email'
    end

or that

    class Person < ActiveRecord::Base
      attr_accessible :email, :name

      validates :email, :email => true
    end

It's my first gem, likely it can contains some bugs, errors. Do not use in production yet :)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
validates-email-0.0.2 README.md