... | @@ -13,12 +13,26 @@ These are the keys available to configure general features: |
... | @@ -13,12 +13,26 @@ These are the keys available to configure general features: |
|
<a name="eager_load"></a>`eager_load` Set if any information that requires querying and searching or collecting information should be eager loaded. This automatically changes when rails same configuration is set to true.
|
|
<a name="eager_load"></a>`eager_load` Set if any information that requires querying and searching or collecting information should be eager loaded. This automatically changes when rails same configuration is set to true.
|
|
Default value: `false`
|
|
Default value: `false`
|
|
|
|
|
|
|
|
<a name="use_extended_defaults"></a>`use_extended_defaults` This allows default values to have extended values like arrays and casted values. Extended defaults is still experimental, so enable and test it before using it in production.
|
|
|
|
Default value: `false`
|
|
|
|
|
|
<a name="irregular_models"></a>`irregular_models` Set a list of irregular model names when associated with table names. It uses the `'table_name' => 'model_name'` format. This is widely used for inheritance because record types need to be associated with a model class.
|
|
<a name="irregular_models"></a>`irregular_models` Set a list of irregular model names when associated with table names. It uses the `'table_name' => 'model_name'` format. This is widely used for inheritance because record types need to be associated with a model class.
|
|
Default value: `{}`
|
|
Default value: `{}`
|
|
|
|
|
|
|
|
## <a name="schemas"></a>Schemas configurations
|
|
|
|
|
|
|
|
These are the keys available to configure schemas features:
|
|
|
|
|
|
|
|
<a name="schemas.blacklist"></a>`schemas.blacklist` Defines a list of LIKE-based schemas to not consider for a multiple schema database. This is also available on `config/database.yml` as `schemas` and nested to it, `blacklist`.
|
|
|
|
Default value: `['information_schema ', 'pg_%']`
|
|
|
|
|
|
|
|
<a name="schemas.whitelist"></a>`schemas.whitelist` Defines a list of LIKE-based schemas to consider for a multiple schema database. This is also available on `config/database.yml` as `schemas` and nested to it, `whitelist`.
|
|
|
|
Default value: `['public']`
|
|
|
|
|
|
## <a name="associations"></a>Associations configurations
|
|
## <a name="associations"></a>Associations configurations
|
|
|
|
|
|
These are the keys available to configure associations features:
|
|
These are the keys available to configure associations features:
|
|
|
|
|
|
<a name="associations.belongs_to_many_required_by_default"></a>`associations.belongs_to_many_required_by_default` Define if `belongs_to_many` associations are marked as required by default. `false` means that no validation will be performed.
|
|
<a name="associations.belongs_to_many_required_by_default"></a>`associations.belongs_to_many_required_by_default` Define if `belongs_to_many` associations are marked as required by default. `false` means that no validation will be performed.
|
|
Default value: `false`
|
|
Default value: `false`
|
|
|
|
|
... | | ... | |