method

delete_count

Importance_0

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

delete_count(method, scope) private

No documentation

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

Hide source
# File activerecord/lib/active_record/associations/has_many_association.rb, line 112
        def delete_count(method, scope)
          if method == :delete_all
            scope.delete_all
          else
            scope.update_all(nullified_owner_attributes)
          end
        end
Register or log in to add new notes.