2017-03-27 13:28:34 -04:00
|
|
|
if defined?(Bullet) && ENV['ENABLE_BULLET']
|
|
|
|
Rails.application.configure do
|
|
|
|
config.after_initialize do
|
|
|
|
Bullet.enable = true
|
2015-10-13 05:54:06 -04:00
|
|
|
|
2017-03-27 13:28:34 -04:00
|
|
|
Bullet.bullet_logger = true
|
|
|
|
Bullet.console = true
|
|
|
|
Bullet.raise = Rails.env.test?
|
|
|
|
end
|
|
|
|
end
|
2015-10-13 05:54:06 -04:00
|
|
|
end
|