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

Raised when a required parameter is missing.

params = ActionController::Parameters.new(a: {})
params.fetch(:b)
# => ActionController::ParameterMissing: param is missing or the value is empty: b
params.require(:a)
# => ActionController::ParameterMissing: param is missing or the value is empty: a
Show files where this class is defined (1 file)
Register or log in to add new notes.