Remove halt_callback_chains_on_return_false

It's deprecated in Rails 5.1 and will block the Rails 5.2 upgrade.
This commit is contained in:
Matt Rogers 2018-11-17 09:11:52 -06:00
parent 6952202e7b
commit faaecbae40
No known key found for this signature in database
GPG key ID: 605D017C07EB4316

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