validates_timeliness
https://github.com/adzap/validates_timeliness
Ruby
Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
1 Subscribers
Add a CodeTriage badge to validates_timeliness
Help out
- Issues
- Update README to remove beta from Gemfile instructs
- Update rspec-rails requirement from ~> 6.0 to ~> 7.1
- Format Validation only works for yyyy-mm-dd
- Handle when the passed value is not a Date value. when it's a Numeric
- Is there any way that I can make sure that ranges are exclusive?
- Allow to access record value, filled by user in form/API, to be exposed in validation messages
- Check time_zone_aware_types
- No support for midnight with :time type
- No configuration required per thread (compatibility with timeliness 0.4.0+
- Inconsistant behaviour when validating on a method and not a column
- Docs
- AccountStatusesCleanupPolicy#update_last_inspected
- AccountStatusesCleanupPolicy#invalidate_last_inspected
- AccountStatusesCleanupPolicy#last_inspected
- AccountStatusesCleanupPolicy#record_last_inspected
- AccountStatusesCleanupPolicy#compute_cutoff_id
- AccountStatusesCleanupPolicy#statuses_to_delete
- PreloadingConcern#preload_collection_paginated_by_id
- PreloadingConcern#preload_collection
- CollectionItemsController#check_feature_enabled
- CollectionItemsController#set_collection_item