diff options
author | John Fragoulis <fragoulis@skroutz.gr> | 2018-02-23 13:08:20 +0200 |
---|---|---|
committer | John Fragoulis <fragoulis@skroutz.gr> | 2018-02-23 15:35:48 +0200 |
commit | d7f11cee0327e4c7a437442e9653f60ae08e36cb (patch) | |
tree | 20405addeae373983021d653863b42a060b2650d /activesupport/lib | |
parent | 5ecbeda0e225e4961977b5c516088cf12d92319f (diff) | |
download | rails-d7f11cee0327e4c7a437442e9653f60ae08e36cb.tar.gz rails-d7f11cee0327e4c7a437442e9653f60ae08e36cb.tar.bz2 rails-d7f11cee0327e4c7a437442e9653f60ae08e36cb.zip |
Correct ActiveSupport::Deprecation::Behavior#behavior= documentation
The callback parameters need to reflect changes after
https://github.com/rails/rails/pull/28800
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/deprecation/behaviors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation/behaviors.rb b/activesupport/lib/active_support/deprecation/behaviors.rb index 581db5f449..66d6f3225a 100644 --- a/activesupport/lib/active_support/deprecation/behaviors.rb +++ b/activesupport/lib/active_support/deprecation/behaviors.rb @@ -85,7 +85,7 @@ module ActiveSupport # ActiveSupport::Deprecation.behavior = :stderr # ActiveSupport::Deprecation.behavior = [:stderr, :log] # ActiveSupport::Deprecation.behavior = MyCustomHandler - # ActiveSupport::Deprecation.behavior = ->(message, callstack) { + # ActiveSupport::Deprecation.behavior = ->(message, callstack, deprecation_horizon, gem_name) { # # custom stuff # } def behavior=(behavior) |