1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

added bullets to analyze db queries

This commit is contained in:
2015-10-19 19:44:13 -04:00
parent 4b447b86f9
commit 5d9398be16
2 changed files with 8 additions and 0 deletions

View File

@@ -53,4 +53,5 @@ gem 'spring', :group => :development
gem 'rb-readline'
group :development do
gem 'puma'
gem 'bullet'
end

View File

@@ -26,4 +26,11 @@ Wrestling::Application.configure do
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
config.after_initialize do
Bullet.enable = true
Bullet.alert = true
Bullet.console = true
Bullet.bullet_logger = true
end
end