A gem that provides a debug bar for Rails 3.2/4.x applications.
In your Gemfile, add the following to get booze to start working. Out of the box, the gem shows debug information when you're running a Rails app in development mode.
gem "booze", :git => "git://github.com/Coomer/booze.git"
Configuration is optional. A good spot for this configuration code is in an initializer.
Booze.configure do |config| # Background color for the query count tab config.tab_color = "#ff0099" # Text color for the query count tab config.text_color = "#ffffff" # Array of Rails environments to enable debug bar for, default is ["development"] config.debug_environments = ["development", "test"] # Filter out PRAGMA queries, default is false config.filter_pragma_queries = true end
There is a rspec test suite covering basic functionality. The tests include specs in
spec_without_booze/, and a dummy Rails 4.2 app in
To run them:
git clone https://github.com/Coomer/booze.git cd booze bundle install bundle exec rake