Disable rollbar

This commit is contained in:
Georg Gadinger 2017-06-17 22:58:44 +02:00
parent 90fc9dae3a
commit 6120256bad
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Rollbar.configure do |config|
if Rails.env.test? if Rails.env.test?
config.enabled = false config.enabled = false
end end
# Here we'll disable it anywhere else:
config.enabled = false
# scrub out the "confirmation_token" field # scrub out the "confirmation_token" field
config.scrub_fields |= [:confirmation_token] config.scrub_fields |= [:confirmation_token]