edge badge

Raised when a supplied parameter is not expected.

params = ActionController::Parameters.new(a: "123", b: "456")
params.permit(:c)
# => ActionController::UnpermittedParameters: found unexpected keys: a, b