We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe84e5e commit 1803fbeCopy full SHA for 1803fbe
README.md
@@ -27,10 +27,10 @@ The redis adapter only has one strategy: the deletion strategy.
27
28
```ruby
29
# Only delete the "users" key, and keys that start with "cache".
30
-DatabaseCleaner[:redis].strategy = :deletion, { only: ["users", "cache*"] }
+DatabaseCleaner[:redis].strategy = :deletion, only: ["users", "cache*"]
31
32
# Delete all keys except the "users" key.
33
-DatabaseCleaner[:redis].strategy = :deletion, { except: ["users"] }
+DatabaseCleaner[:redis].strategy = :deletion, except: ["users"]
34
```
35
36
## Adapter configuration options
0 commit comments