mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Remove redundant text.
This commit is contained in:
parent
6b5c8e1c59
commit
e0eb4f2af7
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ Remember to add those extra columns to your `versions` table ;)
|
|||
|
||||
## Diffing Versions
|
||||
|
||||
When you're storing every version of an object, as PaperTrail lets you do, you're almost certainly going to want to diff those versions against each other. However I haven't built a diff method into PaperTrail because I think diffing is best left to dedicated libraries, and also it's hard to come up with a diff method to suit all the different possible use cases.
|
||||
When you're storing every version of an object, as PaperTrail lets you do, you're almost certainly going to want to diff those versions against each other. However I haven't built a diff method into PaperTrail because I think diffing is best left to dedicated libraries, and also it's hard to come up with a diff method to suit all the use cases.
|
||||
|
||||
You might be surprised that PaperTrail doesn't use diffs internally anyway. When I designed PaperTrail I wanted simplicity and robustness so I decided to make each version of an object self-contained. A version stores all of its object's data, not a diff from the previous version.
|
||||
|
||||
|
|
Loading…
Reference in a new issue