Coming soon! A Pro version of the Flipper gem for entirely local installations.

Get Updates

Documentation

Read-only Adapter

A read-only adapter for Flipper.

Use this adapter to wrap another adapter and raise an exception for any writes.

Any attempted write raises Flipper::Adapters::ReadOnly::WriteAttempted with message 'write attempted while in read only mode'

Usage

# example wrapping memory adapter
require 'flipper/adapters/read_only'

Flipper.configure do |config|
  config.use Flipper::Adapters::ReadOnly
end

# Enabling a feature
> Flipper[:dashboard_panel].enable
=> Flipper::Adapters::ReadOnly::WriteAttempted: write attempted while in read only mode
Ready to try it out?

Get audit history, rollbacks, advanced permissions, analytics, and all of your projects in one place.


Prefer our Cloudless option?

You can choose from several tiers to sponsor Flipper on GitHub and get some great benefits!

The Friday Deploy

Get updates for all things Flipper—open source and cloud.

Have questions? Need help?

Email us any time or head on over to our documentation or status page for the latest on the app or API.

Ready to take Flipper for a swim?

No credit card required. 14-day free trial. And customer support directly from the developers.