RubyGems Navigation menu

schema_validations 0.2.1

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', '~> 0.2.1'
  
  
  
  
  
  
  

install
          gem install schema_validations -v 0.2.1
  
  
  
  
  
  
  

Total downloads 13,731

For this version 579

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: