We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c10753c commit 92a90daCopy full SHA for 92a90da
config/initializers/flipper.rb
@@ -3,9 +3,3 @@
3
Rails.application.configure do
4
config.flipper.memoize = false
5
end
6
-
7
-if Rails.env.development?
8
- Flipper.enable(:user_registration)
9
- Flipper.enable(:snippets)
10
- Flipper.enable(:example_posts)
11
-end
db/seeds/development.rb
@@ -19,3 +19,8 @@
19
START_COUNT_NEWSLETTERS = 5
20
fill_count = START_COUNT_NEWSLETTERS - Newsletter.count
21
FactoryBot.create_list(:newsletter, fill_count) if fill_count > 0
22
+
23
+# Enable all flags by default
24
+Flipper.enable(:user_registration)
25
+Flipper.enable(:snippets)
26
+Flipper.enable(:example_posts)
0 commit comments