instance method exclude?

Ruby on Rails 8.1.2

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

exclude?(key)

Returns true if the given key is not present in the parameters.

Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 219
    

Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 219 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Parameters

Type at least 2 characters to search.

↑↓ navigate · open · esc close