Merge pull request #140 from heisee/master

enables the deletion strategy also to JRuby (and not only the truncation strategy)
This commit is contained in:
Ben Mabey 2012-08-13 13:19:44 -07:00
commit de29527f72

View file

@ -27,7 +27,7 @@ module ActiveRecord
end
end
class PostgreSQLAdapter < AbstractAdapter
class PostgreSQLAdapter < POSTGRE_ADAPTER_PARENT
def delete_table(table_name)
execute("DELETE FROM #{quote_table_name(table_name)};")
end