BigW Consortium Gitlab

bullet.rb 253 Bytes
Newer Older
1 2 3 4
if defined?(Bullet) && ENV['ENABLE_BULLET']
  Rails.application.configure do
    config.after_initialize do
      Bullet.enable = true
5

6 7 8 9 10
      Bullet.bullet_logger = true
      Bullet.console = true
      Bullet.raise = Rails.env.test?
    end
  end
11
end