класс ActionController::ExpectedParameterMissing
Вызывается из expect!, если отсутствует ожидаемый параметр или его тип несовместим.
params = ActionController::Parameters.new(a: {})
params.expect!(:a)
# => ActionController::ExpectedParameterMissing: param is missing or the value is empty or invalid: a
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.