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
- No configuration required per thread (compatibility with timeliness 0.4.0+
- Inconsistant behaviour when validating on a method and not a column
- tod support
- Ability to include custom restriction variable value and add the error message to base.
- Localize dates in error messages
- raise errors in validation procs instead of swallowing them
- Can't test the validation with allow_blank: true
- validates_datetime w/ default parser = true does not convert ISO 8601 without zone offset into default time zone
- Allow block/symbol as option[:format] for date/time/datetime validation
- I18n: differenciate error messages between date and time
- Docs
- ValidatesTimeliness::ORM::ActiveModel::ClassMethods#timeliness_method_already_implemented?
- ValidatesTimeliness::ORM::ActiveModel::ClassMethods#define_timeliness_method
- ValidatesTimeliness::ORM::ActiveModel::ClassMethods#define_attribute_method
- User#remove_roles
- Image#variant
- Image.styles
- Budget#show_money?
- Mailer#already_confirmed
- Comment.search
- Comment#searchable_values