Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::SQLite3Adapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
Instance Method Details
#truncate_table(table_name) ⇒ Object
13 14 15 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 13 def truncate_table(table_name) execute("DELETE FROM #{quote_table_name(table_name)};") end |