Sha256: 81af227b0a98b6cd92d57100a9aebc35c247124d19a635f453a35fef79bc20a2
Contents?: true
Size: 221 Bytes
Versions: 2
Compression:
Stored size: 221 Bytes
Contents
module LoggableActivity module Sanitizer def self.run ::LoggableActivity::EncryptionKey.where('delete_at < ?', DateTime.now).find_in_batches do |batch| batch.each(&:delete) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loggable_activity-0.2.1c | lib/loggable_activity/sanitizer.rb |
loggable_activity-0.2.1 | lib/loggable_activity/sanitizer.rb |