... | ... | @@ -10,7 +10,7 @@ end |
|
|
|
|
|
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 collectiong information shuld 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 shoul be eager loaded. This automatically changes when rails same configuration is set to true.
|
|
|
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.
|
... | ... | @@ -56,7 +56,7 @@ Default value: `# Same list as before but without items that have ${attr} or %{m |
|
|
|
|
|
These are the keys available to configure Inheritance features:
|
|
|
|
|
|
<a name="inheritance.inverse_lookup"></a>`inheritance.inverse_lookup` Define the lookup of models from their given name to be inverted, which means that they are going to be form the last namespaced one to the most namespaced one. If you prefer `User::Role` instead of `UserRole` as model name, set this to `false` to improve performance.
|
|
|
<a name="inheritance.inverse_lookup"></a>`inheritance.inverse_lookup` Define the lookup of models from their given name to be inverted, which means that they are going to form the last namespaced one to the most namespaced one. If you prefer `User::Role` instead of `UserRole` as model name, set this to `false` to improve performance.
|
|
|
Default value: `true`
|
|
|
|
|
|
<a name="inheritance.record_class_column_name"></a>`inheritance.record_class_column_name` Determines the name of the column used to collect the table of each record. When the table has inheritance tables, this column will return the name of the table that actually holds the record.
|
... | ... | |