method

compact

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Parameters
compact() public

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

Show source
Register or log in to add new notes.