# frozen_string_literal: true Flipflop.configure do # Strategies will be used in the order listed here. strategy :active_record strategy :default feature :april_fools feature :site_interactivity, default: true, description: 'Allow any site interactivity at all for non-staff (uploads, comments, forum posts, etc.)' feature :image_uploads, default: true, description: 'Allow image uploads for non-staff.' feature :user_registration, default: true, description: 'Allow new user accounts to be created.' feature :captcha, default: true, description: 'Require anonymous users to fill out a CAPTCHA to upload.' feature :report_limit, default: false, description: 'Limit the number of open reports per user.' # Other strategies: # # strategy :sequel # strategy :redis # # strategy :query_string # strategy :session # # strategy :my_strategy do |feature| # # ... your custom code here; return true/false/nil. # end # Declare your features, e.g: # # feature :world_domination, # default: true, # description: "Take over the world." end