added bullet for finding database optimizations

This commit is contained in:
Priit Tamboom 2014-10-09 17:39:54 +03:00
parent 825e4bc5c1
commit 7c748884f3
4 changed files with 24 additions and 0 deletions

View file

@ -36,4 +36,13 @@ Rails.application.configure do
# config.action_view.raise_on_missing_translations = true
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
# for finding database optimization
config.after_initialize do
Bullet.enable = true
Bullet.bullet_logger = true
Bullet.console = true
Bullet.rails_logger = true
Bullet.add_footer = true
end
end