lib/soulmate/base.rb in soulmate_rails-0.3.0 vs lib/soulmate/base.rb in soulmate_rails-0.3.1
- old
+ new
@@ -7,17 +7,17 @@
def initialize(type)
@type = normalize(type)
end
def base
- "soulmate-index:#{type}"
+ "soulmate-index:#{Soulmate.cache_namespace}_#{type}"
end
def database
- "soulmate-data:#{type}"
+ "soulmate-data:#{Soulmate.cache_namespace}_#{type}"
end
def cachebase
- "soulmate-cache:#{type}"
+ "soulmate-cache:#{Soulmate.cache_namespace}_#{type}"
end
end
end