Feature #42555 ยป 0001-Adds-the-Bullet-gem-to-detect-query-problems-such-as-N-1-and-improve-performance.patch
| Gemfile | ||
|---|---|---|
|
gem 'listen', '~> 3.3'
|
||
|
gem 'yard', require: false
|
||
|
gem 'svg_sprite', require: false
|
||
|
gem "bullet", "~> 8.0"
|
||
|
end
|
||
|
group :test do
|
||
| config/environments/development.rb | ||
|---|---|---|
|
# Uncomment if you wish to allow Action Cable access from any origin.
|
||
|
# config.action_cable.disable_request_forgery_protection = true
|
||
|
config.after_initialize do
|
||
|
Bullet.enable = true
|
||
|
Bullet.rails_logger = true
|
||
|
end
|
||
|
end
|
||