Skip to Content Skip to Search

class ActionController::InvalidParameterKey

Raised when initializing Parameters with keys that aren’t strings or symbols.

ActionController::Parameters.new(123 => 456)
# => ActionController::InvalidParameterKey: all keys must be Strings or Symbols, got: Integer

Inherits From

Definition files