Add Bullet notifications to Performance bar
Bullet gem helps to detect N+1 problems for SQL queries. It mostly recognized the simple cases, but even those are regularly encountered in our code base. In order to enable the gem, one should ENABLE_BULLET=1. Then bullet notifications will appear in the js console. Unfortunately, js console messages don't call to action. What about putting the notifications in the Performance bar?
Showing
... | ... | @@ -343,7 +343,7 @@ group :development do |
end | ||
group :development, :test do | ||
gem 'bullet', '~> 6.0.2', require: !!ENV['ENABLE_BULLET'] | ||
gem 'bullet', '~> 6.0.2' | ||
gem 'pry-byebug', '~> 3.5.1', platform: :mri | ||
gem 'pry-rails', '~> 0.3.9' | ||
... | ... |
1.04 MB