I have been inspired by how both Flickr and Disqus use feature switches. They both blogged about them and how they work on both of their development blogs.
I was just wondering if there was a Ruby gem i'm missing or if anyone knows of a way to do this in Ruby? If there isn't anything, I'd hope to make my own and release it out in the wild. But I just wanted to ask here first because I haven't been able to find anything remotely similar to what both Flickr and Disqus achieve.
Check rollout if you're already using Redis.
I recently (9 Oct 14) took a look at the available gems - 9+ in various states of maintenance - and decided to go with Flipper. Rollout is also worth a look.
If you are looking to roll your own the source code for Rollout is only 200 lines and a good place to start. https://github.com/FetLife/rollout/blob/master/lib/rollout.rb
This railscast also has a barebones example http://railscasts.com/episodes/315-rollout-and-degrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With