Bulk ActiveRecord writes skip callbacks, so PaperTrail records nothing. This gem adds audited_update_all, audited_delete_all and audited_insert_all, which run the bulk write and insert one version row per record in the same transaction, honouring the model's only:, ignore:, skip:, meta: and versions: options. Ships a RuboCop cop that flags bare bulk writes on audited models.

Required Ruby Version

>= 3.2.0

Authors

Sam Robinson

Versions

  1. 0.3.0
    1. source

      1. 0.3.0 source October 09, 2026 (14 KB)
  2. 0.2.0
    1. source

      1. 0.2.0 source September 30, 2026 (14 KB)
  3. 0.1.0
    1. source

      1. 0.1.0 source September 28, 2026 (11 KB)

Pushed by

SHA 256 checksum