instance method
exclude?
Ruby on Rails 8.0.4
Since v7.1.6Signature
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