mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Merge pull request #260 from tonini/master
fix syntax example in README [ci skip]
This commit is contained in:
commit
98848bb9b2
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ PaperTrail stores the pre-change version of the model, unlike some other auditin
|
|||
|
||||
>> widget.versions # []
|
||||
>> widget.update_attributes :name => 'Wotsit'
|
||||
>> widget.last.reify.name # 'Doobly'
|
||||
>> widget.versions.last.reify.name # 'Doobly'
|
||||
>> widget.versions.last.event # 'update'
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue