def validate
  errors.add(:from_date, "must be less than to date") if from_date > to_date
end