class QueryStringParsingTest::EarlyParse

Public Class Methods

new(app) click to toggle source
# File actionpack/test/dispatch/request/query_string_parsing_test.rb, line 17
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File actionpack/test/dispatch/request/query_string_parsing_test.rb, line 21
def call(env)
  # Trigger a Rack parse so that env caches the query params
  Rack::Request.new(env).params
  @app.call(env)
end