This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
David Dollar (author)
Wed May 13 16:48:25 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
README.rdoc | ||
| |
ext/ | Mon May 11 18:57:36 -0700 2009 | |
| |
init.rb | Mon May 11 18:57:36 -0700 2009 | |
| |
lib/ | ||
| |
tasks/ | Wed May 13 16:48:25 -0700 2009 |
README.rdoc
Installation:
script/plugin install git://github.com/ddollar/rack-debug.git
Usage:
# config/environments/development.rb config.middleware.use "Rack::Debug" # add debugger statements to your code @user = User.find(params[:id]) debugger render :show
Debugging:
# run the rake task, $ rake debug Connected. # refresh a page in your browser, your app will break at debugger statements (rdb:1) p @user #<User id: 1, name: "David Dollar", email: "ddollar@gmail.com", created_at: "...", updated_at: "...">
Thanks to:
Rack::Bug for a good example of Rack middleware in Rails Ben Scofield for making me want to build some Rack middleware








