RubyGems.org

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.

installgem install schema_validations
Authors

Ronen Barzel, Michał Łomnicki

13,122 total downloads 5,230 for this version
Owners

5ac931514fa7deadb59ed29909c233b8D969a347edb3054c711946c0ed07ce2f

Licenses

MIT

Gemfile
gem 'schema_validations', '~> 1.0.0'
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
  1. schema_plus >= 0