Forum: Ruby on Rails suggestion for valid date checking

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Shawn B. (Guest)
on 2007-01-19 17:31
(Received via mailing list)
lo there all,
i need to find a way to validate a date_time attribute of a few of my
models. Nothing too fancy, just need to make sure that someone does not
try to put in Feb 31 th.

i am sure this is fairly common, but cannot find any examples.

thanks for any suggestions.

shawn
This topic is locked and can not be replied to.