Project

General

Profile

Patch #42555 ยป 0001-Adds-the-Bullet-gem-to-detect-query-problems-such-as-N-1-and-improve-performance.patch

Katsuya HIDAKA, 2025-04-09 16:31

View differences:

Gemfile
98 98
  gem 'listen', '~> 3.3'
99 99
  gem 'yard', require: false
100 100
  gem 'svg_sprite', require: false
101
  gem "bullet", "~> 8.0"
101 102
end
102 103

  
103 104
group :test do
config/environments/development.rb
59 59

  
60 60
  # Uncomment if you wish to allow Action Cable access from any origin.
61 61
  # config.action_cable.disable_request_forgery_protection = true
62

  
63
  config.after_initialize do
64
    Bullet.enable = true
65
    Bullet.rails_logger = true
66
  end
62 67
end
    (1-1/1)