Drop halt_callback_chains_on_return_false

ActiveSupport.halt_callback_chains_on_return_false= is deprecated and
will be removed in Rails 5.2. Stop using it and return `throw(:abort)`
instead in the callbacks which need it.
This commit is contained in:
Ana María Martínez Gómez 2019-05-03 17:33:14 +02:00
parent b3716985f0
commit a8d2f8caa4
No known key found for this signature in database
GPG key ID: EACB9B4BC80C0347
4 changed files with 1 additions and 7 deletions

View file

@ -20,6 +20,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