Merge pull request #784 from tnm/patch-2

Note about PaperTrail::Version as an AR instance
This commit is contained in:
Jared Beck 2016-04-26 11:15:46 -04:00
commit 8aafacf241
1 changed files with 2 additions and 1 deletions

View File

@ -194,7 +194,8 @@ Widget.paper_trail_enabled_for_model?
widget.paper_trail_enabled_for_model?
```
And a `PaperTrail::Version` instance has these methods:
And a `PaperTrail::Version` instance (which is just an ordinary ActiveRecord
instance, with all the usual methods) adds these methods:
```ruby
# Returns the item restored from this version.