public
Fork of brynary/rack-bug
Description: Debugging toolbar for Rack applications implemented as middleware
Homepage:
Clone URL: git://github.com/yaroslav/rack-bug.git
noahd1 (author)
Thu Sep 17 15:00:03 -0700 2009
yaroslav (committer)
Wed Oct 28 02:15:48 -0700 2009
commit  c6002b7eb6464698342f7502b64238d8962d2abd
tree    8889706dd4a78973ee0ece2be433726a96318ebe
parent  7669176b0fa3e9473f014e08da540fdbfe284e8b
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 Thu Aug 06 14:58:45 -0700 2009 Check dependencies before spec runs [brynary]
file VERSION Thu Aug 06 14:45:25 -0700 2009 Add Jeweler for gem management [brynary]
directory lib/ Loading commit data...
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