in your model
protected def validate errors.add(:end_date, "can't come before the Start date") if end_date < start_date end
in your model
protected def validate errors.add(:end_date, "can't come before the Start date") if end_date < start_date end