mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
f5652ea79e
Before #1285, a version record was created when associated object is touched.
But because of Rails don't track implicit touch mutation[1], now PaperTail
don't create a version record was created when associated object is touched.
This patch try to keep creating a version record in that case by doing checking an
event and changed value.
Fixes #1339.
[1]:
|
||
---|---|---|
.. | ||
base.rb | ||
create.rb | ||
destroy.rb | ||
update.rb |