Created
December 14, 2019 22:26
-
-
Save brunapereira/baf73b416a5aa6fbaa3df286ad702c33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/flipper.rb | |
require 'flipper/ui' | |
require 'flipper/adapters/active_record' | |
Flipper.configure do |config| | |
config.default do | |
adapter = Flipper::Adapters::ActiveRecord.new | |
Flipper.new(adapter) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment