lib/split/experiment.rb in split-4.0.0.pre vs lib/split/experiment.rb in split-4.0.0.pre2
- old
+ new
@@ -85,11 +85,11 @@
elsif experiment_configuration_has_changed?
reset unless Split.configuration.reset_manually
persist_experiment_configuration
end
- redis.hset(experiment_config_key, :resettable, resettable,
- :algorithm, algorithm.to_s)
+ redis.hmset(experiment_config_key, :resettable, resettable,
+ :algorithm, algorithm.to_s)
self
end
def validate!
if @alternatives.empty? && Split.configuration.experiment_for(@name).nil?