Class: ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
Methods inherited from AbstractAdapter
Instance Method Details
#truncate_table(table_name) ⇒ Object
38 39 40 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 38 def truncate_table(table_name) execute("TRUNCATE #{quote_table_name(table_name)} IMMEDIATE") end |