summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2019-01-03 19:23:37 +0100
committerJasper Maes <jaspermaes.jm@gmail.com>2019-01-03 23:43:53 +0100
commitd36b022fae66fc0841335b73b6c7e1a4ecbcaa6e (patch)
tree49a808dd78733eb487351ee553051ebc31153642 /config
parent5a9808651b728628257545554743cdb2abba4cc3 (diff)
downloadgitlab-ce-d36b022fae66fc0841335b73b6c7e1a4ecbcaa6e.tar.gz
Fix deprecation: returning false in Active Record and Active Model callbacks will not implicitly halt a callback chain
Diffstat (limited to 'config')
-rw-r--r--config/initializers/new_framework_defaults.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb
index 5adb9f7a4b4..a1e0667bc6f 100644
--- a/config/initializers/new_framework_defaults.rb
+++ b/config/initializers/new_framework_defaults.rb
@@ -22,6 +22,3 @@ ActiveSupport.to_time_preserves_timezone = false
# Require `belongs_to` associations by default. Previous versions had false.
Rails.application.config.active_record.belongs_to_required_by_default = false
-
-# Do not halt callback chains when a callback returns false. Previous versions had true.
-ActiveSupport.halt_callback_chains_on_return_false = true