method

compact

compact()
public

Returns a new `ActionController::Parameters` instance with `nil` values removed.