RubyGems Navigation menu

schema_validations 1.0.0

SchemaValidations extends ActiveRecord to automatically create validations by inspecting the database schema. This makes your models more DRY as you no longer need to duplicate NOT NULL, unique, numeric and varchar constraints on the model level.

Gemfile
          gem 'schema_validations', '~> 1.0.0'
  
  
  
  
  
  
  

install
          gem install schema_validations
  
  
  
  
  
  
  

Licenses:

  • MIT

Total downloads 13,731

For this version 5,681

Show all versions (8 total)

Required Ruby Version: None

Links:

Versions:

  1. 1.0.0 - August 19, 2013 (14.5 KB)
  2. 0.2.2 - February 28, 2013 (14 KB)
  3. 0.2.1 - February 28, 2013 (14 KB)
  4. 0.2.0 - October 20, 2012 (15 KB)
  5. 0.1.2 - August 2, 2011 (12.5 KB)
Show all versions (8 total)

Runtime Dependencies: