Class: SagaForge::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SagaForge::ApplicationRecord
- Defined in:
- lib/saga_forge/application_record.rb
Overview
All engine models subclass this abstract class, so pointing it at a connection moves the whole engine. Config is read once at class load — safe because initializers run before models are first referenced. Nothing configured → models stay on the app's primary connection.