Registry / testing / validation-reflection

validation-reflection

JSON →
library1.0.0rbrubygemsunverified

Adds reflective access to validations in Ruby objects.

gem install validation_reflection
INSTALL
IMPORT
SIG · VALIDATION-REFLECT
V
validation-reflection
testingrubyv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ValidationReflection
require 'validation_reflection'

Reflect on model validations

require 'validation_reflection' class User < ActiveRecord::Base validates :name, presence: true end User.reflect_on_validations
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
validation-reflection — gem install validation-reflection · libregistry