mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 14:27:52 +00:00
This would eliminate the need to keeping multiple copies for the default keys set defined by gem.
The following seems more apt than the later one:
```
validates_date :start_at, on_or_after: :today, message: 'should not be in past'
```
```
validates_date :start_at, on_or_after: :today, on_or_after_message: 'should not be in past'
```
|
||
|---|---|---|
| .. | ||
| extensions | ||
| orm | ||
| validator | ||
| attribute_methods_spec.rb | ||
| conversion_spec.rb | ||
| helper_methods_spec.rb | ||
| validator_spec.rb | ||