instance method
reject!
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
reject!(&block)
Removes items that the block evaluates to true and returns self.
Parameters
-
blockblock
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 784
def reject!(&block)
@parameters.reject!(&block)
self
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 784
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters