From 2bf89b55c31742693ef9139c3bd82bc57268b2b0 Mon Sep 17 00:00:00 2001 From: Ammar Alakkad Date: Wed, 11 Sep 2019 09:01:51 +0000 Subject: Add enable feature flag in development to feature_flags.md --- doc/user/project/operations/feature_flags.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/user/project/operations/feature_flags.md b/doc/user/project/operations/feature_flags.md index 39ca1bd0c77..34fc4937bd0 100644 --- a/doc/user/project/operations/feature_flags.md +++ b/doc/user/project/operations/feature_flags.md @@ -247,3 +247,19 @@ else puts "hello, world!" end ``` + +## Enable a feature flag in development + +In the terminal, go to `gitlab` folder and run: + +```bash +rails console +``` + +Then add: + +```ruby +Feature.enable(:feature_name) +``` + +Replace `feature_name` with the feature that you want to enable. -- cgit v1.2.1