method

compact_blank

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

Returns a new +ActionController::Parameters+ instance without the blank values. Uses Object#blank? for determining if a value is blank.

Show source
Register or log in to add new notes.