/ar_validations

Set ActiveRecord Validates based upon database reflection

Primary LanguageRubyMIT LicenseMIT

ar_validations

<img src=“https://secure.travis-ci.org/dgodd/ar_validations.png?branch=master” alt=“Build Status” /> <img src=“https://codeclimate.com/github/dgodd/ar_validations.png” />

DESCRIPTION

Set ActiveRecord Validates based upon database reflection

INSTALL

gem install ar_validations

Rails 3

In Gemfile

gem 'ar_validations'

USAGE

To add ArValidations to an ActiveRecord model, simply include the ArValidations module.

class Shape < ActiveRecord::Base
  include ArValidations
end

LICENSE

MIT