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
Sometimes it might be necessary to reset the history for a record (or records) (e.g. with some GDPR-related stuff).
Let's add an API to do that. Something like this:
# for single recordrecord.reset_log_data#=> which is, probably, equal to Logidze.without_logging { record.update_column(:log_data, nil) }# for relationUser.where(...).reset_log_data#=> Logidze.without_logging { relation.update_all(log_data: nil) }
The text was updated successfully, but these errors were encountered:
Sometimes it might be necessary to reset the history for a record (or records) (e.g. with some GDPR-related stuff).
Let's add an API to do that. Something like this:
The text was updated successfully, but these errors were encountered: