Exception: ActionController::UnfilteredParameters
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
ArgumentError
|
|
Instance Chain:
self,
ArgumentError
|
|
Inherits: |
ArgumentError
|
Defined in: | actionpack/lib/action_controller/metal/strong_parameters.rb |
Overview
Raised when a Parameters
instance is not marked as permitted and an operation to transform it to hash is called.
params = ActionController::Parameters.new(a: "123", b: "456")
params.to_h
# => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash