Class: Rack::Indifferent::QueryParser

Inherits:
QueryParser
  • Object
show all
Defined in:
lib/rack/indifferent.rb

Defined Under Namespace

Classes: Params

Instance Method Summary collapse

Instance Method Details

#parse_nested_query(qs, d = nil) ⇒ Object

Work around for invalid optimization in rack



8
9
10
11
# File 'lib/rack/indifferent.rb', line 8

def parse_nested_query(qs, d=nil)
  return make_params.to_params_hash if qs.nil? || qs.empty?
  super
end