Fixed doc typo. Thanks to Matt Morris for pointing it out.

This commit is contained in:
bmabey 2009-04-27 20:54:43 -07:00
parent 410e5f07a1
commit 114fe2f7b2
1 changed files with 2 additions and 2 deletions

View File

@ -22,11 +22,11 @@ h2. How to use
With the :truncation strategy you can also pass in options, for example:
<pre>
DatabaseCleaner.strategy = :truncation, {:only => %[widigets dogs some_other_table]}
DatabaseCleaner.strategy = :truncation, {:only => %w[widgets dogs some_other_table]}
</pre>
<pre>
DatabaseCleaner.strategy = :truncation, {:except => %[widigets]}
DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]}
</pre>
(I should point out the truncation strategy will never truncate your schema_migrations table.)