diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-08 12:09:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-08 12:09:01 +0300 |
commit | e40061efd4c68576da944254567d0b3fbc233ae4 (patch) | |
tree | b39bc9c07069ab9ff022d09157834c3e8514b1d6 /app/models/operations | |
parent | bd06d7cd6cf903ef0c73670417f4fb15143b70fa (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/operations')
-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' |