adzap / validates_timeliness

Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
MIT License
1.59k stars 227 forks source link

The validation method names don’t end in `_of`. #131

Closed freysie closed 8 years ago

freysie commented 9 years ago

Plz, adzap!

adzap commented 9 years ago

I can only suggest to add validates_timeliness_of because validates_date_of etc. don't read well.

adzap commented 9 years ago

Though validates_timeliness_of would require the :type option be set.

adzap commented 8 years ago

Done, see v4. Though you need to specify :type => :date or whatever.