123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::Request::Utils::NoNilParamEncoder

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ParamEncoder
Instance Chain:
self, ParamEncoder
Inherits: ActionDispatch::Request::Utils::ParamEncoder
Defined in: actionpack/lib/action_dispatch/request/utils.rb

Overview

Remove nils from the params hash.

Class Method Summary

Class Method Details

.handle_array(params)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/request/utils.rb', line 78

def self.handle_array(params)
  list = super
  list.compact!
  list
end