Method: ActionController::Parameters#reject
- Defined in:
- lib/action_controller/metal/strong_parameters.rb
#reject(&block) ⇒ Object
Returns a new ActionController::Parameters instance with items that the block evaluates to true removed.
961 962 963 |
# File 'lib/action_controller/metal/strong_parameters.rb', line 961 def reject(&block) new_instance_with_inherited_permitted_status(@parameters.reject(&block)) end |