class

Marten::Apps::MainConfig

Inherits Marten::Apps::Config / Marten::Apps::Association / Reference / Object

Main application config class.

Marten automatically defines a "main" application config that corresponds to the standard src/ folder. Models, migrations, assets, or locales that live in this folder will be automatically known by Marten (like if they were part of any other installed application). The rationale behind this is that this allows simple projects to be started without requiring the definition of applications upfront, which is ideal for simple projects or proofs of concept.

Constants

RESERVED_LABEL = "main"

Instance methods

main?

Returns true in order to indicate that this is the main application.

Source