From ad192dc92cff7730444f77f071e6549e4ae2ba34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 3 Jun 2021 13:07:58 +0200 Subject: [PATCH] fix: silence deprecations on production --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c22fc9510..60c0fe84c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -87,7 +87,7 @@ Rails.application.configure do config.i18n.fallbacks = true # Send deprecation notices to registered listeners. - config.active_support.deprecation = [] + ActiveSupport::Deprecation.silenced = true # Do not dump schema after migrations. # config.active_record.dump_schema_after_migration = false