You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use redis namespace, redis.smembers(:features) will not work. I changed it to @rollout.features, but it breaks a bunch of tests.
I'm not entirely sure why we need to have #add_feature in wrapper.rb, so I'm really having trouble refactoring it. What's the reason behind using redis.smembers(:features) instead of @rollout.features? Thanks!
Activity
jrallison commentedon Feb 24, 2014
Probably just legacy, as iirc, that wasn't available when I originally wrote this. Switching it over would be great.
dfguo commentedon Feb 24, 2014
I have some trouble understanding few parts of the code and can't proceed with the refactoring. Particularly with monkey_patch.rb
why do we add the feature in here?
dfguo commentedon Mar 12, 2014
#25 is a refactoring to use native rollout features method.