1
0
Fork 0
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:
Ben Atkins 2013-08-28 07:32:27 -07:00
commit 98848bb9b2

View file

@ -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'
```