Skip to content

dancavallaro/rack-envinspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rack::EnvInspector, a Rack middleware for inspecting the Rack environment

This is a simple middleware that allows you to inspect the Rack environment by appending a query parameter to any of your app's URLs.

Configuration

To use Rack::EnvInspector, add the following to your Gemfile:

gem 'rack-envinspector'

Then in config.ru:

use Rack::EnvInspector

Or in a Rails app, add the following to application.rb, or to an appropriate environment-specific config file:

config.middleware.use "Rack::EnvInspector"

Then, see a JSON dump of the Rack environment by appending ?inspect to any URL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages