`expected_update_period_in_days` is required, so do:

    errors.add(:base, "Invalid expected_update_period_in_days format") unless options['expected_update_period_in_days'].to_i > 0

Then you don't need to worry about the rescue code.