mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
README update: update additional options
link
README has a broken link to additional config options for :truncation Change to point at the active-record library repo
This commit is contained in:
parent
855abc968d
commit
c6bb730fbc
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ So what is fastest out of `:deletion` and `:truncation`? Well, it depends on you
|
||||||
|
|
||||||
Some people report much faster speeds with `:deletion` while others say `:truncation` is faster for them. The best approach therefore is it try all options on your test suite and see what is faster.
|
Some people report much faster speeds with `:deletion` while others say `:truncation` is faster for them. The best approach therefore is it try all options on your test suite and see what is faster.
|
||||||
|
|
||||||
If you are using ActiveRecord then take a look at the [additional options](#additional-activerecord-options-for-truncation) available for `:truncation`.
|
If you are using ActiveRecord then take a look at the [additional options](https://github.com/DatabaseCleaner/database_cleaner-active_record#strategy-configuration-options) available for `:truncation`.
|
||||||
|
|
||||||
Database Cleaner also includes a `null` strategy (that does no cleaning at all) which can be used with any ORM library.
|
Database Cleaner also includes a `null` strategy (that does no cleaning at all) which can be used with any ORM library.
|
||||||
You can also explicitly use it by setting your strategy to `nil`.
|
You can also explicitly use it by setting your strategy to `nil`.
|
||||||
|
|
Loading…
Reference in a new issue