# File lib/database_cleaner/active_record/truncation.rb, line 49 def pre_count_truncate_tables(tables, options = {:reset_ids => true}) filter = options[:reset_ids] ? method(:has_been_used?) : method(:has_rows?) truncate_tables(tables.select(&filter)) end
Generated with the Darkfish Rdoc Generator 2.