method

select

rails latest stable - Class: ActionController::Parameters
select(&block)
public

Returns a new +ActionController::Parameters+ instance with only items that the block evaluates to true.