mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
clean up adapter READMEs.
This commit is contained in:
parent
29e61aba36
commit
b4850f6616
11 changed files with 139 additions and 301 deletions
|
|
@ -1,14 +1,13 @@
|
|||
# Database Cleaner for ActiveRecord
|
||||
# Database Cleaner Adapter for ActiveRecord
|
||||
|
||||
[](https://travis-ci.org/DatabaseCleaner/database_cleaner-active_record)
|
||||
[](https://codeclimate.com/github/DatabaseCleaner/database_cleaner-active_record)
|
||||
|
||||
Database Cleaner is a set of strategies for cleaning your database in Ruby.
|
||||
Clean your ActiveRecord databases with Database Cleaner.
|
||||
|
||||
The original use case was to ensure a clean state during tests.
|
||||
Each strategy is a small amount of code but is code that is usually needed in any ruby app that is testing with a database.
|
||||
See https://github.com/DatabaseCleaner/database_cleaner for more information.
|
||||
|
||||
## Gem Setup
|
||||
## Installation
|
||||
|
||||
```ruby
|
||||
# Gemfile
|
||||
|
|
@ -56,7 +55,7 @@ Some people report much faster speeds with `:deletion` while others say `:trunca
|
|||
|
||||
If you are using ActiveRecord then take a look at the [additional options](#additional-activerecord-options-for-truncation) available for `:truncation`.
|
||||
|
||||
### Configuration options
|
||||
## Configuration options
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue