Class: ActionDispatch::Request::Utils::NoNilParamEncoder
- Inherits:
-
ParamEncoder
- Object
- ParamEncoder
- ActionDispatch::Request::Utils::NoNilParamEncoder
- Defined in:
- lib/action_dispatch/request/utils.rb
Overview
Remove nils from the params hash
Class Method Summary collapse
-
.handle_array(params) ⇒ Object
:nodoc:.
Methods inherited from ParamEncoder
Class Method Details
.handle_array(params) ⇒ Object
:nodoc:
68 69 70 71 72 |
# File 'lib/action_dispatch/request/utils.rb', line 68 def self.handle_array(params) list = super list.compact! list end |