Skip to content
Browse files

don't substitute the slashes in metric/experiment names

  • Loading branch information...
1 parent fb31cbc commit 4b47ca1200eb75f7a5df687339ea32238ab5cb80 @jneen jneen committed Jul 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/modesty/datastore/redis.rb
View
2 lib/modesty/datastore/redis.rb
@@ -35,7 +35,7 @@ def self.keyify(*args)
args.map {|a| a.to_s}.map do |a|
(a.is_a?(Date)) ? date_key(a) : a
end.map do |k|
- k.gsub(/[^\w\-]/,'_')
+ k.gsub(/[^\w\-\/]/,'_')
end.unshift('modesty').join(':')
end

0 comments on commit 4b47ca1

Please sign in to comment.
Something went wrong with that request. Please try again.