I am trying to validate two date fields. I want to validate that the second field is always the same date or any date after the first one.
Example if date1 is 22/05/2011 date2 can not be 20/05/2011.
I am using ruby on rails 3.0.7, and I am trying to do this at the model level.
See that post: Rails 3 Datetime validation
and also:
Rails 3 custom validation between datetime
🙂