class
ActionController::InvalidParameterKey
v7.1.3.2 -
Show latest stable
- Superclass: ArgumentError
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
Files
- actionpack/lib/action_controller/metal/strong_parameters.rb