nateware/redis-objects — pull request #59 by monde (2012-04-24 20:50:07+00:00)
Title: Redis::Objects.redis and Redis::Objects.redis=(conn) implies that the ca...

...nonical place to set a redis connection global to the library is there. See lines 53 and 54

https://github.com/nateware/redis-objects/blob/master/lib/redis/objects.rb#L53

https://github.com/nateware/redis-objects/blob/master/lib/redis/objects.rb#L54

We had two separated redis connections (resque, and redis objects) in http://www.hark.com/, and when we added a third separated connection to different redis server the redis objects library inappropriately attached itself there via $redis || Redis.current in Redis::BaseObject#initializer