RubyGems Navigation menu

enforce_schema_rules 0.0.15

A macro-style method that will automatically read the database contraints (null requirements, string length, etc) and enforce those at the model level to keep validation more DRY. Provides many options to customize how automatic it is and what columns it affects.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.20 - March 21, 2016 (6.5 KB)
  2. 0.0.17 - July 18, 2013 (7 KB)
  3. 0.0.16 - April 27, 2011 (6 KB)
  4. 0.0.15 - December 02, 2010 (6 KB)
  5. 0.0.14 - November 12, 2010 (6 KB)

Runtime Dependencies (1):

Owners:

Authors:

  • Josh Starcher, David Easley, Michael Schuerig, Eric Anderson

SHA 256 checksum:

831127f519c22e71e87962fd1c8a2476f439af2f02fe252bafb38b3715a62823

Total downloads 20,453

For this version 3,908

Licenses:

N/A

Required Ruby Version: None

Links: