diff options
Diffstat (limited to 'app/models/operations/feature_flag.rb')
-rw-r--r-- | app/models/operations/feature_flag.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/operations/feature_flag.rb b/app/models/operations/feature_flag.rb index e36c59366fe..0df8c87f73f 100644 --- a/app/models/operations/feature_flag.rb +++ b/app/models/operations/feature_flag.rb @@ -16,8 +16,8 @@ module Operations has_internal_id :iid, scope: :project - default_value_for :active, true - default_value_for :version, :new_version_flag + attribute :active, default: true + attribute :version, default: :new_version_flag # strategies exists only for the second version has_many :strategies, class_name: 'Operations::FeatureFlags::Strategy' |