mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Specify that behavior will be deprecated in Rails 5.1
This commit is contained in:
parent
39e087cbf5
commit
bca2e69b78
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ module ActiveSupport
|
|||
|
||||
def display_deprecation_warning_for_false_terminator
|
||||
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
||||
Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in the next release of Rails.
|
||||
Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1.
|
||||
To explicitly halt the callback chain, please use `throw :abort` instead.
|
||||
MSG
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue