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:
= 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.0.0 - August 19, 2013 (14.5 KB)
Show all versions (24 total)

Runtime Dependencies (1):

Development Dependencies (6):

rake >= 0
rdoc >= 0
rspec >= 0
simplecov >= 0
sqlite3 >= 0

Owners:

Authors:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

41174f09d2f18de7dd6c312de5cd3893e9e5faf109e115cc0fdb9cf53839190c

Total downloads 298,503

For this version 10,955

License:

MIT

Required Ruby Version: None

Links: