diff --git a/lib/split/alternative.rb b/lib/split/alternative.rb index 1ba0ebff..a9a673c9 100644 --- a/lib/split/alternative.rb +++ b/lib/split/alternative.rb @@ -166,7 +166,7 @@ def validate! end def reset - Split.redis.hmset key, "participant_count", 0, "completed_count", 0, "recorded_info", nil.to_s + Split.redis.hmset key, "participant_count", 0, "completed_count", 0, "recorded_info", "" unless goals.empty? goals.each do |g| field = "completed_count:#{g}"