Skip to Content Skip to Search
v7.1.0
class ActionController::UnfilteredParameters < ArgumentError

ActionController::UnfilteredParameters

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
Definition files