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
If an audited record has a serialize attribute that contains an array, then when creating an old revision of the record (using audit.revision), only one of the array elements is returned.
The problem is that new_attributes and old_attributes don't handle the case where an attribute may itself be an array.
The text was updated successfully, but these errors were encountered:
bhsdrew
added a commit
to kidspassport/audited
that referenced
this issue
Aug 1, 2017
If an audited record has a
serialize
attribute that contains an array, then when creating an old revision of the record (usingaudit.revision
), only one of the array elements is returned.The problem is that
new_attributes
andold_attributes
don't handle the case where an attribute may itself be an array.The text was updated successfully, but these errors were encountered: