validation for : Start date lesser than End date?

add your custom validation to the validate method

def validate
errors.add(:start_date, 'must be earlier than end date') if
self.start_date > self.end_date
end

Adam