<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs" -->

---
title: The Flipper gem is amazing, here's how we extended it...
description: A practical deep dive into extending the Flipper gem for Rails beyond its defaults. Covers four real-world customizations built for StackBlitz: resolving...
canonical: https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Flipper gem is amazing, here's how we extended it the Martian way—Martian Chronicles, Evil Martians’ team blog | daily.dev
og:description: A practical deep dive into extending the Flipper gem for Rails beyond its defaults. Covers four real-world customizations built for StackBlitz: resolving...
og:url: https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs
og:image: https://api.daily.dev/og/posts/Dy1MZk7hS.png
og:image:alt: The Flipper gem is amazing, here's how we extended it the Martian way—Martian Chronicles, Evil Martians’ team blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Flipper gem is amazing, here's how we extended it the Martian way—Martian Chronicles, Evil Martians’ team blog

**[Martian Chronicles](https://daily.dev/sources/evilmartians)** · 10 min read · 0 upvotes · 0 comments

## Summary

A practical deep dive into extending the Flipper gem for Rails beyond its defaults. Covers four real-world customizations built for StackBlitz: resolving human-friendly actor IDs (usernames, emails, slugs) instead of raw database IDs; enabling feature flags for entire organizations so all members inherit them; tracking first-observed feature flag enablement events for analytics without flooding quotas; and adding audit logging for admin actions by injecting a custom Rack middleware into Flipper's standalone UI to access current user context.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://evilmartians.com/chronicles/flipper-gem-is-amazing-we-extended-it-the-martian-way>

## Similar posts on daily.dev

- [The Friday Deploy: Changing the Wheels While the Car Is Moving](https://daily.dev/posts/the-friday-deploy-changing-the-wheels-while-the-car-is-moving-7ud5yhefg) · RUBYLAND · 2 upvotes · 0 comments
- [2 Martians, greenfield to MVP in 4 weeks: agentic coding on Rails—Martian Chronicles, Evil Martians’ team blog](https://daily.dev/posts/2-martians-greenfield-to-mvp-in-4-weeks-agentic-coding-on-rails-martian-chronicles-evil-martians--jfk5nweey) · Martian Chronicles · 5 upvotes · 1 comments
- [Issue \#808: Getting Mastodon on Spinel — Ruby Weekly](https://daily.dev/posts/issue-808-getting-mastodon-on-spinel-ruby-weekly-idv8fz5r1) · Ruby Weekly · 0 upvotes · 0 comments
- [Stripe-Style IDs in Rails: A Guide to the make\_id Gem](https://daily.dev/posts/stripe-style-ids-in-rails-a-guide-to-the-make-id-gem-zifmcrlgv) · Ruby Flow · 0 upvotes · 0 comments
- [Agents on Rails: Stage 2. Can a model ship a feature?](https://daily.dev/posts/agents-on-rails-stage-2-can-a-model-ship-a-feature--yfvchzqdl) · Rails · 2 upvotes · 1 comments

---

Tags: [#ruby](https://daily.dev/tags/ruby), [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Flipper gem is amazing, here's how we extended it the Martian way—Martian Chronicles, Evil Martians’ team blog","url":"https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs"},"datePublished":"2026-03-03T13:31:19.088Z","dateModified":"2026-03-03T13:31:45.000Z","description":"A practical deep dive into extending the Flipper gem for Rails beyond its defaults. Covers four real-world customizations built for StackBlitz: resolving...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/607f532ddbd3ab4f6cb66ab80ce91730?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/607f532ddbd3ab4f6cb66ab80ce91730?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Martian Chronicles","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Martian Chronicles","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6334c9de96a7414ebbf4b7667ba572c5","url":"https://daily.dev/sources/evilmartians"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-flipper-gem-is-amazing-here-s-how-we-extended-it-the-martian-way-martian-chronicles-evil-marti-dy1mzk7hs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ruby,rails","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Martian Chronicles","item":"https://daily.dev/sources/evilmartians"},{"@type":"ListItem","position":3,"name":"The Flipper gem is amazing, here's how we extended it the Martian way—Martian Chronicles, Evil Martians’ team blog"}]}
```

