method

prepend_one

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CallbackChain
prepend_one(callback) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/callbacks.rb, line 690
          def prepend_one(callback)
            @all_callbacks = nil
            @single_callbacks.clear
            remove_duplicates(callback)
            @chain.unshift(callback)
          end
Register or log in to add new notes.