1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/lib/paper_trail/events
yuuji.yaginuma f5652ea79e Try to create a version record when associated object is touched
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]: dcb825902d
2022-03-01 13:51:30 +09:00
..
base.rb Extract private method: Events::Base#metadatum_from_model_method 2021-10-25 13:13:49 -04:00
create.rb Lower the memory allocations 2019-03-14 14:27:18 -04:00
destroy.rb Update rubocop et. al. to latest 2021-03-21 00:03:07 -04:00
update.rb Try to create a version record when associated object is touched 2022-03-01 13:51:30 +09:00