method

delete_or_nullify_all_records

rails latest stable - Class: ActiveRecord::Associations::HasManyAssociation
delete_or_nullify_all_records(method)
private

No documentation available.

# File activerecord/lib/active_record/associations/has_many_association.rb, line 120
        def delete_or_nullify_all_records(method)
          count = delete_count(method, scope)
          update_counter(-count)
          count
        end