01 / DefineCreate a stable key
Name the release control once. The key stays constant in code while its gates change independently in each environment.
ToggleFleet gives Ruby teams the five-gate model they already understand — boolean, actor, group, percentage of actors, and percentage of time — with local evaluation, isolated environments, and a dashboard built for controlled releases.
checkout_v225% rollout · restorable from history
Create the flag, target the audience, promote states between environments, and keep a restorable record of every important change.
01 / DefineName the release control once. The key stays constant in code while its gates change independently in each environment.
02 / TargetSwitch it on globally, target actors or groups, or run a sticky percentage rollout without changing application code.
03 / PromoteProve a gate set in Staging, then copy the complete state into Production instead of re-entering every value.
04 / RecoverEvery flag change enters the audit trail with its prior state, operator, environment, and a one-click rollback.
The server and Ruby SDK use the same gate order and actor bucketing, so percentage rollouts remain sticky wherever evaluation happens.
The master switch. Release to everyone in the selected environment.
enabled = trueTarget stable user, account, or tenant identifiers.
actors = ["acct_42"]Target groups whose membership rules stay in your application.
groups = ["admins"]Ramp from 1% to 100% while the same actor stays in the same bucket.
rollout = 25Sample a percentage of evaluations for load testing or probabilistic paths.
percentage_of_time = 5The dashboard turns flags, environment health, and change history into one direct release-control surface rather than another analytics suite.
See on, partial, and off states alongside recent changes.
Know which SDK key connected last without exposing full credentials.
Find a flag by key, name, or purpose and edit all five gates in place.
New SDK keys are displayed once and stored only as a one-way hash.
illustrative previewfleet overviewThe Ruby SDK is designed so a feature check is not coupled to ToggleFleet availability.
0ms*After configuration is loaded, enabled? reads in-process state rather than making a network call. *No ToggleFleet network round-trip on the hot path.
304The SDK sends an ETag on background polls. Unchanged configuration returns HTTP 304 with no JSON body to parse.
lastA failed refresh leaves the last loaded state in place. Before the first successful load, unknown flags use your configured safe default.
hashActor percentages use the same stable bucket on the server and in the gem, preventing rollout flicker.
Ruby applications get background refresh and local evaluation. Other server-side clients can fetch a complete environment or evaluate one flag directly.
# Gemfile gem "togglefleet" ToggleFleet.configure do |config| config.sdk_key = ENV["TOGGLEFLEET_SDK_KEY"] config.default = false end ToggleFleet.start if ToggleFleet.enabled?( :checkout_v2, actor: current_user ) render "checkout/v2" end
# Evaluate one flag curl https://togglefleet.com/v1/evaluate \ -H "Authorization: Bearer $SDK_KEY" \ -G --data-urlencode "flag=checkout_v2" \ --data-urlencode "actor=acct_42" # Fetch and cache the environment curl https://togglefleet.com/v1/config \ -H "Authorization: Bearer $SDK_KEY" \ -H 'If-None-Match: "…"' # → 200 with flags, or 304 unchanged
ToggleFleet competes directly on the five-gate workflow and flat team pricing. Flipper Cloud offers a broader set of telemetry and integrations at higher listed tiers.
| Monthly plan | ToggleFleet | Flipper Cloud |
|---|---|---|
| Free flags | 10 | 5 |
| Free team members | Unlimited | 2 |
| Entry paid price | $15/month flat | $49/month · up to 10 collaborators |
| 25 collaborators | $15/month | $149/month |
| 50 collaborators | $15/month | $299/month |
| Five gate types | Included | Included |
| Change history | Included | Included · retention varies by plan |
| One-click flag rollback | Included | Paid plans |
You want the familiar Ruby gate model, local evaluation, unlimited teammates, straightforward environments, history, rollback, and a predictable small-team bill.
You need its broader telemetry, Slack notifications, feature ownership, tags, webhooks, granular permissions, or the support relationship with Flipper's developers.
Prices shown are monthly. No annual commitment is required.
No. The Ruby SDK refreshes configuration in the background and evaluates locally. The REST /v1/evaluate endpoint is available when a server-side HTTP check is the right integration.
ToggleFleet does not meter local Ruby SDK evaluations, monthly active users, teammates, or environments for billing. REST endpoints are rate-limited for service protection at 600 requests per minute per client IP; local SDK evaluation avoids that request path.
The Ruby SDK keeps its last successfully loaded configuration. If it has never loaded, it uses the fail-safe default you configure; that default is false unless changed.
Percentage-of-actors targeting is deterministic for a flag and actor ID. The same actor remains in the same bucket as the rollout changes. Percentage-of-time is intentionally random per evaluation.
Yes. Flag state changes record the prior state, operator, and environment. Restorable history entries expose a rollback action in the dashboard.
The current key is shown once when generated or rotated. ToggleFleet stores a one-way SHA-256 hash and a short display prefix, not the full credential.
No. ToggleFleet focuses on the five-gate release-control workflow, local Ruby evaluation, environments, history, and flat pricing. Flipper Cloud includes broader telemetry, integrations, ownership, tagging, and permission features.
Open a free workspace, create the flag, generate an environment key, and evaluate locally in Ruby.