Drexed-Validators

Validate commonly used attributes easily with drexed-validators.

Currently supported validators: currency, email, file_size, hex, HTML, IP, name, password, phone, slug, ssn, url, username, and zipcode

Installation

Add this line to your application's Gemfile:

gem 'drexed-validators'

And then execute:

$ bundle

Or install it yourself as:

$ gem install drexed-validators

Usage

validates :my_email_attribute, email: true