From 997f87a57930e8f6e07c29d3169af61373c964bf Mon Sep 17 00:00:00 2001 From: diesl Date: Tue, 15 Mar 2022 00:59:08 +0100 Subject: [PATCH] Update documentation about :on_destroy callback --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e26168d..1e9e6c06 100644 --- a/README.md +++ b/README.md @@ -376,8 +376,8 @@ end ``` The `paper_trail.on_destroy` method can be further configured to happen -`:before` or `:after` the destroy event. In PaperTrail 4, the default is -`:after`. In PaperTrail 5, the default will be `:before`, to support +`:before` or `:after` the destroy event. Until PaperTrail 4, the default was +`:after`. Starting with PaperTrail 5, the default is `:before`, to support ActiveRecord 5. (see https://github.com/paper-trail-gem/paper_trail/pull/683) ### 2.b. Choosing When To Save New Versions