For those of you looking for an easy-to-use easy-to-use solution for testing partitions and smoke, I developed the eeny-meeny gem. This does not require you to use Redis or anything like that. It is built as a rack middleware and processes everything based on cookies.
All you need to use is to define your experiment and use the experiment assistants where you need them:
if participates_in?(:my_experiment, variation_id: :my_variation) # variation specific code else # normal code end if smoke_test?(:my_secret_test) # smoke test specific code else # normal code end
source share