class 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
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.