jrallison / rollout_ui

RolloutUI: A slick way to rollout features in your web app.
MIT License
137 stars 86 forks source link

Add a feature only once #17

Closed amuino closed 10 years ago

amuino commented 12 years ago

The code for active? in monkey_patch.rb always adds a feature to the Redis features set.

Is there any reason why this can't be done just once (I'm thinking on keeping a ruby Set or Hash with the features that have already been added).

Redis is fast, but doing nothing is still faster.

I could submit a pull request for this.

kyleries commented 10 years ago

Thanks for logging this issue (and your patience)! I'm tending the garden, so to speak, and will be closing this as a duplicate of #28. Feel free to weigh in on that PR and/or experiment with that solution.