Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bullet.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ade7109420e60e41c3e67913ea3a29fa4cf0201 (plain)
1
2
3
4
5
6
7
8
9
10
11
if defined?(Bullet) && ENV['ENABLE_BULLET']
  Rails.application.configure do
    config.after_initialize do
      Bullet.enable = true

      Bullet.bullet_logger = true
      Bullet.console = true
      Bullet.raise = Rails.env.test?
    end
  end
end