RubyGems Navigation menu

schema_validations 2.4.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:
= 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)
Show all versions (24 total)

Runtime Dependencies (3):

activerecord >= 5.2, < 7.1
valuable >= 0

Development Dependencies (3):

rake ~> 13.0
rspec ~> 3.0
schema_dev ~> 4.2.0

Owners:

Pushed by:

Authors:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

a29c4ac7005b7b4384377e87bd82b0d59501eb4c8475778e0b518e3d71f270a6

Total downloads 298,501

For this version 14,160

License:

MIT

Required Ruby Version: >= 2.5

Links: