Module: DatabaseCleaner::ConnectionAdapters::GenericDeleteAdapter

Defined in:
lib/database_cleaner/active_record/deletion.rb

Instance Method Summary collapse

Instance Method Details

#delete_table(table_name) ⇒ Object


16
17
18
# File 'lib/database_cleaner/active_record/deletion.rb', line 16

def delete_table(table_name)
  execute("DELETE FROM #{quote_table_name(table_name)};")
end