lib/active_support/callbacks.rb in activesupport-6.0.2.2 vs lib/active_support/callbacks.rb in activesupport-6.0.3.rc1

- old
+ new

@@ -140,11 +140,10 @@ end end end private - # A hook invoked every time a before callback is halted. # This can be overridden in ActiveSupport::Callbacks implementors in order # to provide better debugging/logging. def halted_callback_hook(filter) end @@ -580,11 +579,10 @@ protected attr_reader :chain private - def append_one(callback) @callbacks = nil remove_duplicates(callback) @chain.push(callback) end @@ -841,10 +839,9 @@ RUBY end end protected - def get_callbacks(name) # :nodoc: __callbacks[name.to_sym] end def set_callbacks(name, callbacks) # :nodoc: