Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Superclass: ArgumentError

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
Show files where this class is defined (1 file)
Register or log in to add new notes.