Class: Redis

Inherits:
Object
  • Object
show all
Defined in:
lib/redis/feature_control.rb,
lib/redis/feature_control/version.rb

Overview

Redis::FeatureControl

The point of this is to have a very simple way to turn pieces of the site on and off without having to load your entire Rails stack (models, etc).

How it stores stuff in Redis: Features default on, so if the value in redis is nil, it’s considered enabled. The value is “1” when explicitly turned on and “0” when off.

Defined Under Namespace

Modules: FeatureControl