Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #140 from heisee/master

enables the deletion strategy also to JRuby (and not only the truncation strategy)
  • Loading branch information...
commit de29527f722e2903635d1b7b88cdc3a984fdb577 2 parents 9952a3f + 4083474
@bmabey bmabey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/database_cleaner/active_record/deletion.rb
View
2  lib/database_cleaner/active_record/deletion.rb
@@ -27,7 +27,7 @@ def delete_table(table_name)
end
end
- class PostgreSQLAdapter < AbstractAdapter
+ class PostgreSQLAdapter < POSTGRE_ADAPTER_PARENT
def delete_table(table_name)
execute("DELETE FROM #{quote_table_name(table_name)};")
end
Please sign in to comment.
Something went wrong with that request. Please try again.