class ActiveSupport::Callbacks::CallbackChain

def append_one(callback)

def append_one(callback)
  @all_callbacks = nil
  @single_callbacks.clear
  remove_duplicates(callback)
  @chain.push(callback)
end