Ruby on Rails: Date and Time Validation

Update May 26th, 2008: I have posted new instructions to validate dates in Rails.

I am working on my Rails project and need a date validation in the model.

I found Validates Date Time Plugin.

According to RailsLodge Plugin page, I can automatically download the whole branch by issuing the following command:

ruby script/plugin install http://svn.viney.net.nz/things/rails/plugins/validates_date_time/

The resulting files should be stored in the vendor/plugins/validates_date_time.

Once I have more time, I’ll be sure to give it a spin. :)

Leave a Reply