Class: Protege::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Protege::ApplicationRecord
- Defined in:
- app/models/protege/application_record.rb
Overview
Abstract base class for every Active Record model in the Protege engine.
Every persisted model — Persona, Message, EmailThread, EmailDomain — inherits
from this class rather than ActiveRecord::Base directly, mirroring the convention a host
Rails application uses for its own ApplicationRecord. Keeping a dedicated base class gives
the engine a single seam for shared concerns (connection handling, common scopes, callbacks)
without leaking configuration into the host application's models.
The class is marked abstract so Active Record never expects a protege_application_records
table to exist.
Direct Known Subclasses
AccessRule, EmailDomain, EmailThread, Message, Persona, Responsibility, ResponsibilityRun, ToolUse, Trace