Fixes #23965 - Only save ids for association audits (#5753)
Otherwise, we have issues when trying to check revisions of the audit since it will fail trying to assign a string to an attribute that expects an object id.
Related issues
Bug #23965: audit: undefined method `each' for "":String
Fixes #23965 - Only save ids for association audits (#5753)
Otherwise, we have issues when trying to check revisions of the audit
since it will fail trying to assign a string to an attribute that
expects an object id.