mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
added bullet for finding database optimizations
This commit is contained in:
parent
825e4bc5c1
commit
7c748884f3
4 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue