mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Merge pull request #1379 from cisbox/diesl-patch-1
Update documentation about :on_destroy callback
This commit is contained in:
commit
ab4f119964
1 changed files with 2 additions and 2 deletions
|
@ -376,8 +376,8 @@ end
|
||||||
```
|
```
|
||||||
|
|
||||||
The `paper_trail.on_destroy` method can be further configured to happen
|
The `paper_trail.on_destroy` method can be further configured to happen
|
||||||
`:before` or `:after` the destroy event. In PaperTrail 4, the default is
|
`:before` or `:after` the destroy event. Until PaperTrail 4, the default was
|
||||||
`:after`. In PaperTrail 5, the default will be `:before`, to support
|
`:after`. Starting with PaperTrail 5, the default is `:before`, to support
|
||||||
ActiveRecord 5. (see https://github.com/paper-trail-gem/paper_trail/pull/683)
|
ActiveRecord 5. (see https://github.com/paper-trail-gem/paper_trail/pull/683)
|
||||||
|
|
||||||
### 2.b. Choosing When To Save New Versions
|
### 2.b. Choosing When To Save New Versions
|
||||||
|
|
Loading…
Reference in a new issue