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

Raised when a supplied parameter is not expected.

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