RubyGems Navigation menu

schema_validations 1.2.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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.4.1 - June 12, 2022 (19.5 KB)
  2. 2.4.0 - May 06, 2022 (19 KB)
  3. 2.3.0 - July 24, 2017 (19 KB)
  4. 2.2.1 - February 08, 2017 (19 KB)
  5. 2.2.0 - November 25, 2016 (18.5 KB)
  6. 1.2.0 - May 12, 2015 (16 KB)
Show all versions (24 total)

Runtime Dependencies (3):

activerecord >= 4.2.1, ~> 4.2
valuable >= 0

Development Dependencies (7):

Owners:

Authors:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

dc9a3b21d1d863f8444e35004a58ef7b43d13fa506d399008841175ccc030e1d

Total downloads 298,501

For this version 2,984

License:

MIT

Required Ruby Version: >= 0

Links: