evilmartians / rack-bug forked from yaroslav/rack-bug

Debugging toolbar for Rack applications implemented as middleware

This URL has Read+Write access

name age message
file .gitignore Mon Mar 09 00:07:03 -0700 2009 Moving TODO [brynary]
file History.txt Sun Mar 08 22:39:12 -0700 2009 Adding very basic logging, sql, templates panels [brynary]
file MIT-LICENSE.txt Sat Mar 28 19:39:47 -0700 2009 License [brynary]
file README.rdoc Mon Aug 03 22:20:38 -0700 2009 Add Hoptoad compatibility note to README [lukemelia]
file Rakefile Loading commit data...
file VERSION Thu Aug 06 14:45:25 -0700 2009 Add Jeweler for gem management [brynary]
directory lib/
file rack-bug.gemspec Thu Aug 06 14:47:09 -0700 2009 Regenerated gemspec for version 0.2.1 [brynary]
directory spec/ Tue Aug 04 06:19:51 -0700 2009 Remove EnvPanel (now merged into RequestVariabl... [brynary]
README.rdoc

Usage:

 script/plugin install git://github.com/brynary/rack-bug.git

 # config/environments/development.rb
 config.middleware.use "Rack::Bug"

 # add bookmarklet to browser
 open http://RAILS_APP/__rack_bug__/bookmarklet.html

Notes:

 To use rack-bug with hoptoad, you need to stub hoptoad from trying to serialize the environment variables
 that rack-bug uses like so:

 HoptoadNotifier.configure do |config|
   config.environment_filters << 'rack-bug.*'
 end

Thanks to:

  Django debug toolbar
  Rails footnotes
  Rack's ShowException middleware
  Oink
  Rack::Cache