Browse files

url option not being picked up by Redis#new"

  • Loading branch information...
1 parent 8ff09f2 commit 02fe8547837d610293c021fcd9fe1601be6b0195 @maccman maccman committed Jul 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/supermodel/redis.rb
View
2 lib/supermodel/redis.rb
@@ -23,7 +23,7 @@ def namespace=(namespace)
end
def redis
- @redis ||= ::Redis.new(redis_options)
+ @redis ||= ::Redis.connect(redis_options)
end
def indexes(*indexes)

0 comments on commit 02fe854

Please sign in to comment.