Class: ForestAdminAgent::AuditTrail::Sql::AuditLog

Inherits:
AuditConnectionBase show all
Defined in:
lib/forest_admin_agent/audit_trail/sql/audit_log.rb

Overview

Abstract template for the audit model. Each Store builds its own concrete subclass bound to its own (schema-qualified) table, so stores with different table_name/schema can't clobber a shared one. The JSON attribute overrides force Hash <-> JSON casting on every adapter (Postgres json, or text on SQLite) and are inherited by every subclass.

Method Summary

Methods inherited from AuditConnectionBase

connect_to, connection_mutex, disconnect!