Skip to content

Instantly share code, notes, and snippets.

@dinks
Created March 4, 2014 11:56
Show Gist options
  • Select an option

  • Save dinks/9345171 to your computer and use it in GitHub Desktop.

Select an option

Save dinks/9345171 to your computer and use it in GitHub Desktop.
Extract Params in Middleware
rack_input = env["rack.input"].read
params = Rack::Utils.parse_query(rack_input, "&")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment