From 114fe2f7b2fdef5e86926e07f457d0fc0a12aa02 Mon Sep 17 00:00:00 2001 From: bmabey Date: Mon, 27 Apr 2009 20:54:43 -0700 Subject: [PATCH] Fixed doc typo. Thanks to Matt Morris for pointing it out. --- README.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.textile b/README.textile index 2865a77..905ac0b 100644 --- a/README.textile +++ b/README.textile @@ -22,11 +22,11 @@ h2. How to use With the :truncation strategy you can also pass in options, for example:
-  DatabaseCleaner.strategy = :truncation, {:only => %[widigets dogs some_other_table]}
+  DatabaseCleaner.strategy = :truncation, {:only => %w[widgets dogs some_other_table]}
 
-  DatabaseCleaner.strategy = :truncation, {:except => %[widigets]}
+  DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]}
 
(I should point out the truncation strategy will never truncate your schema_migrations table.)