You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
pavelbabin
changed the title
Ignoring deleted_at/deletod_on attributes
Ignoring deleted_at/deleted_on attributes
Mar 13, 2024
I think it would be good to add to
@ignored_attributes
onAudited
module attributesdeleted_at
anddeleted_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 forcreated_at/created_on
attributes ignored oncreate
actionThe text was updated successfully, but these errors were encountered: