Skip to content

Commit

Permalink
Update after_persist.md
Browse files Browse the repository at this point in the history
fix broken link :)
  • Loading branch information
imjared authored and palkan committed Jan 25, 2025
1 parent 8ee4c55 commit be501b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/after_persist.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

*Notice: `after_persist` supported only with [`active_record`](active_record.md) adapter.*

The special mechanism for transformation of cloned record. In contradistinction to [`finalize`](finalize) executes with a saved record. This type of callbacks provides a default `mapper:` parameter which contains a relation between origin and cloned objects.
The special mechanism for transformation of cloned record. In contradistinction to [`finalize`](finalize.md) executes with a saved record. This type of callbacks provides a default `mapper:` parameter which contains a relation between origin and cloned objects.

`after_persist` helps to restore broken _relationships_ while cloning associations and implement some logic with already persisted clone record. (_Inspired by [issues#19](https://github.com/palkan/clowne/issues/19)_)

Expand Down

0 comments on commit be501b8

Please sign in to comment.