method

remove_duplicates

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: CallbackChain
remove_duplicates(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 697
          def remove_duplicates(callback)
            @all_callbacks = nil
            @single_callbacks.clear
            @chain.delete_if { |c| callback.duplicates?(c) }
          end
Register or log in to add new notes.