Registry / database / dm-validations

dm-validations

JSON →
library1.2.0rbrubygemsunverified

Library for performing validations on DataMapper models and pure Ruby objects.

gem install dm-validations
INSTALL
IMPORT
SIG · DM-VALIDATIONS
D
dm-validations
databaserubyv1.2.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.

DataMapper::Validations
require 'dm-validations'

Define a DataMapper model with validations and check validity.

require 'dm-validations' class Person include DataMapper::Resource property :name, String, required: true end person = Person.new person.valid?
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
OpenAI (training)
1
Resources
dm-validations — gem install dm-validations · libregistry