brynary / rack-bug

Debugging toolbar for Rack applications implemented as middleware
MIT License
1.08k stars 104 forks source link

How to enable 'Show Back Trace' for a SQL query? #23

Open conradwt opened 14 years ago

conradwt commented 14 years ago

Hi, I'm using Ruby 1.8.7 and Rails 2.3.5 and I have added the following configuration to my development.rb:

Setup Rack::Bug.

config.gem 'rack-bug', :lib => "rack/bug" config.middleware.use( "Rack::Bug", :password => 'secret', :secret_key => "someverylongandveryhardtoguesspreferablyrandomstring" )

Also, I'm only seeing the following option for a query:

SELECT | EXPLAIN | Profile