Note about PaperTrail::Version as an AR instance

This commit is contained in:
Ted Nyman 2016-04-26 05:26:42 -07:00
parent 2318ad068e
commit a2dcf48fac
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.