class ActiveSupport::Callbacks::CallbackChain

def clear

def clear
  @callbacks = nil
  @chain.clear
  self
end