README.textile in database_cleaner-0.6.7 vs README.textile in database_cleaner-0.7.0

- old
+ new

@@ -71,11 +71,11 @@ </pre> Example usage with RSpec: <pre> -Spec::Runner.configure do |config| +RSpec.configure do |config| config.before(:suite) do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:truncation) end @@ -97,9 +97,15 @@ <pre> DatabaseCleaner.logger = Rails.logger </pre> +If you are using Postgres and have foreign key constraints, the truncation strategy will cause a lot of extra noise to appear on STDERR (in +the form of "NOTICE truncate cascades" messages). To silence these warnings set the following log level in your postgresql.conf file: + +<pre> + client_min_messages = warning +</pre> h2. How to use with multiple ORM's Sometimes you need to use multiple ORMs in your application. You can use DatabaseCleaner to clean multiple ORMs, and multiple connections for those ORMs.