Features
Features are the heart of Flipper. They allow you to control code execution by enabling features in certain conditions.
Checking if a feature is enabled
if Flipper.enabled?(:my_feature)
# do the thing
else
# do the other thing
end
Enabling and disabling features
Flipper allows you to enable and disable feature flags for different users at runtime. You have control over the scenarios and conditions that enable a feature for a given actor, group, percentage of actors, percentage of time, or even custom expressions that you define. This means you can turn features on and off for certain users—but not others—without deploying new code.
There are 6 different ways to enable a feature:
Get audit history, rollbacks, advanced permissions, analytics, and all of your projects in one place.
You can choose from several tiers to sponsor Flipper on GitHub and get some great benefits!