Skip to content

Commit

Permalink
Update readme for real destruction
Browse files Browse the repository at this point in the history
Removes mention to `.destroy!`. Adds mention to `.destroy_fully!`
  • Loading branch information
julitrows committed Jan 23, 2017
1 parent 9f1a2c9 commit f97a6bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -69,11 +69,10 @@ Paranoiac.deleted_inside_time_window(time, 2.minutes)
In order to really delete a record, just use:

```ruby
paranoiac.destroy!
paranoiac.destroy_fully!
Paranoiac.delete_all!(conditions)
```

You can also permanently delete a record by calling `destroy_fully!` on the object.
**NOTE:** The `.destroy!` method is still usable, but equivalent to `.destroy`. It just hides the object.

Alternatively you can permanently delete a record by calling `destroy` or `delete_all` on the object **twice**.

Expand Down

0 comments on commit f97a6bb

Please sign in to comment.