Class: ActiveRecord::ConnectionAdapters::JdbcAdapter
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::JdbcAdapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Instance Method Summary collapse
Instance Method Details
#truncate_table(table_name) ⇒ Object
19 20 21 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 19 def truncate_table(table_name) execute("TRUNCATE TABLE #{quote_table_name(table_name)};") end |