method

delete_count

delete_count(method, scope)
private

No documentation available.

# File activerecord/lib/active_record/associations/has_many_association.rb, line 148
        def delete_count(method, scope)
          if method == :delete_all
            scope.delete_all
          else
            scope.update_all(reflection.foreign_key => nil)
          end
        end