Exception: ActionController::UnpermittedParameters
- Defined in:
- runtime/action_controller/exceptions.rb,
runtime/action_controller/exceptions.rbs
Overview
Named by rescue_from clauses. No runtime path raises either: strong
parameters do not reject unpermitted keys, and a format an action does not
answer is resolved by the lowering. They exist because a rescue clause
evaluates its class list whenever an exception passes through it — an
undefined name there turns every other error the action raises into a
NameError that hides the real one.