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
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