method

remove_duplicates

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Callbacks::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 587
      def remove_duplicates(callback)
        @callbacks = nil
        @chain.delete_if { |c| callback.duplicates?(c) }
      end
Register or log in to add new notes.