Module: Journaled::AuditLog::BlockedClassMethods

Defined in:
lib/journaled/audit_log.rb

Constant Summary collapse

BLOCKED_METHODS =
{
  delete_all: '.destroy_all',
  insert: '.create!',
  insert_all: '.each { create!(...) }',
  update_all: '.find_each { update!(...) }',
  upsert: '.create_or_find_by!',
  upsert_all: '.each { create_or_find_by!(...) }',
}.freeze