class ActionController::UnfilteredParameters
# => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash
params.to_h
params = ActionController::Parameters.new(a: “123”, b: “456”)
an operation to transform it to hash is called.
Raised when a Parameters instance is not marked as permitted and
def initialize # :nodoc:
def initialize # :nodoc: super("unable to convert unpermitted parameters to hash") end