Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Inherits:
-
SQLITE_ADAPTER_PARENT
- Object
- ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
- #delete_table(table_name) ⇒ Object (also: #truncate_table)
Instance Method Details
#delete_table(table_name) ⇒ Object Also known as: truncate_table
44 45 46 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 44 def delete_table(table_name) execute("DELETE FROM #{quote_table_name(table_name)};") end |