Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2022-07-21 03:08:53 +00:00
parent d588fa9e6e
commit 154cc38c02
25 changed files with 480 additions and 42 deletions

View File

@ -25,6 +25,9 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
# Raise an error on page load if there are pending migrations
config.active_record.migration_error = :page_load

View File

@ -68,6 +68,9 @@ Rails.application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
# Silence disallowed deprecations.
config.active_support.disallowed_deprecation = :silence
config.action_mailer.delivery_method = :sendmail
# Defaults to:
# # config.action_mailer.sendmail_settings = {

View File

@ -49,6 +49,9 @@ Rails.application.configure do
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
config.eager_load = Gitlab::Utils.to_boolean(ENV['GITLAB_TEST_EAGER_LOAD'], default: ENV['CI'].present?)
config.cache_store = :null_store