collectiveidea / audited

Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
MIT License
3.34k stars 645 forks source link

Ignoring deleted_at/deleted_on attributes #701

Open pavelbabin opened 3 months ago

pavelbabin commented 3 months ago

I think it would be good to add to @ignored_attributes on Audited module attributes deleted_at and deleted_on by default.

Because it usually used by "paranoid" deletion gems like paranoia.

These attributes' values are setting up on destroy action. And no need to keep it in audits records like values for created_at/created_on attributes ignored on create action