[Chore] Add bullet gem #249 (#281)

* closes #249 add bullet gem

- upgrade gems
- fix the warning in the console
- fix the deprecation message for where not
This commit is contained in:
Sojan Jose
2019-11-25 23:55:18 +05:30
committed by GitHub
parent 34df451243
commit 9c6a101768
6 changed files with 173 additions and 178 deletions

View File

@@ -66,4 +66,12 @@ Rails.application.configure do
# Disable host check during development
config.hosts = nil
# Bullet configuration to fix the N+1 queries
config.after_initialize do
Bullet.enable = true
Bullet.bullet_logger = true
Bullet.rails_logger = true
end
end