truncation for activerecord oracle_enhanced adapter

This commit is contained in:
Edgars Beigarts 2010-01-14 16:30:12 +02:00
parent 10f7546388
commit 9606c0d8e4

View file

@ -33,6 +33,12 @@ module ActiveRecord
end
end
class OracleEnhancedAdapter
def truncate_table(table_name)
execute("TRUNCATE TABLE #{quote_table_name(table_name)}")
end
end
end
end