Rails Debug Bar
Saw a Django Debug Bar yesterday, decided I wanted to try to build one for Rails. Ridiculously incomplete right now, but it's not too hard to expand.
From root of your rails app: git submodule add git://github.com/bkerley/railsdebugbar.git vendor/plugins/railsdebugbar
In the ApplicationController or any other controller:
end
Hacking in additional entries isn't too hard:
…
parts = ["DEBUG",
rails_version,
"/.",
controller.response.status,
["Request headers"] + hash_to_array(controller.request.headers),
["Response headers"]+ hash_to_array(controller.response.headers),
# ADD MORE HERE
]
