Flipper Ruby gem for enabling/disabling features or parts of your app

Flipper Ruby gem for enabling/disabling features or parts of your app
Average rating: 0
(0 votes)

If you use Ruby, this article is just for you! There are multiple vulnerabilities in RubyGems bundled by Ruby. And today we are going to look closer to one of it – Flipper Ruby gem for enabling/disabling features or parts of your app.

Feature flipping is the act of enabling or disabling features or parts of your application, ideally without re-deploying or changing anything in your code base. The goal of this gem is to make turning features on or off so easy that everyone does it. Whatever your data store, throughput, or experience, feature flipping should be easy and have minimal impact on your application.

Add this line to your application’s Gemfile:

gem 'flipper'

And then execute:

$ bundle

Or install it yourself with:

$ gem install flipper

The goal of the API for flipper was to have everything revolve around features and what ways they can be enabled. Start with top level and dig into a feature, then dig in further and enable that feature for a given type of access, as opposed to thinking about how the feature will be accessed first (ie: stats.enable vs activate_group(:stats, ...)).

Of course, there are more examples for you to peruse.

Explore the variety of Ruby gems in our material about 40 most used Ruby gems that can be very helpful for you.

If you don’t know yet where to hire the best Ruby/Rails developers for your next project…

Rate this article, if you like it

Thanks! You’ve rated this material!

Got a project? Let's discuss it!

*By submitting this form you agree with our Privacy Policy.

Mailing & Legal Address

Syndicode Inc. 340 S Lemon Ave #3299, Walnut CA, 91789, USA

Visiting & Headquarters address
Kyiv Sofiivska 1/2a, 01001, Kyiv, Ukraine
Dnipro Hlinky 2, of. 1003, 49000, Dnipro, Ukraine
Email info@syndicode.com
Phone (+1) 9035021111