Flowdock
Ruby on Rails latest stable (v4.2.7) - 0 notes - Superclass: IndexError

Raised when a supplied parameter is not expected and ActionController::Parameters.action_on_unpermitted_parameters is set to :raise.

params = ActionController::Parameters.new(a: "123", b: "456")
params.permit(:c)
# => ActionController::UnpermittedParameters: found unpermitted parameters: a, b
Show files where this class is defined (1 file)
Register or log in to add new notes.