Registry / orm / validates-timeliness

validates-timeliness

JSON →
library8.0.0rbrubygemsunverified

Adds validation methods to ActiveModel for validating dates and times. Works with multiple ORMS.

gem install validates_timeliness
INSTALL
IMPORT
SIG · VALIDATES-TIMELINE
V
validates-timeliness
ormrubyv8.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.

ValidatesTimeliness
require 'validates_timeliness'

Validate date and time attributes in ActiveModel with custom constraints

require 'validates_timeliness' class Event < ActiveRecord::Base validates_date :start_date, on_or_after: Date.today end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
100 hits · last 30 days
node
96
Resources
validates-timeliness — gem install validates-timeliness · libregistry