Replace default_value_for on Clusters models
What does this MR do and why?
Related to #378997 (closed)
It replaces the usage of default_values_for
on a few Clusters
models with a native Rails feature because that gem is unmaintained and it's blocking us from upgrading to Rails 7.
For encrypted fields & enum
we cannot use attributes
as it conflicts with column name definition.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Max Orefice