... | @@ -40,10 +40,10 @@ Default value: `'TorqueCTE'` |
... | @@ -40,10 +40,10 @@ Default value: `'TorqueCTE'` |
|
These are the keys available to configure Enum features:
|
|
These are the keys available to configure Enum features:
|
|
|
|
|
|
<a name="enum.base_method"></a>`enum.base_method` The name of the method to be used on any ActiveRecord::Base to initialize model-based enum features.
|
|
<a name="enum.base_method"></a>`enum.base_method` The name of the method to be used on any ActiveRecord::Base to initialize model-based enum features.
|
|
Default value: `:enum`
|
|
Default value: `:torque_enum`
|
|
|
|
|
|
<a name="enum.set_method"></a>`enum.set_method` The name of the method to be used on any ActiveRecord::Base to initialize model-based enum set features.
|
|
<a name="enum.set_method"></a>`enum.set_method` The name of the method to be used on any ActiveRecord::Base to initialize model-based enum set features.
|
|
Default value: `:enum_set`
|
|
Default value: `:torque_enum_set`
|
|
|
|
|
|
<a name="enum.save_on_bang"></a>`enum.save_on_bang` Indicates if bang methods like 'disabled!' should update the record on database or not.
|
|
<a name="enum.save_on_bang"></a>`enum.save_on_bang` Indicates if bang methods like 'disabled!' should update the record on database or not.
|
|
Default value: `true`
|
|
Default value: `true`
|
... | | ... | |