method

remove_duplicates

Importance_0
v6.0.0 - 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 598
          def remove_duplicates(callback)
            @callbacks = nil
            @chain.delete_if { |c| callback.duplicates?(c) }
          end
Register or log in to add new notes.