Requires the redis gem.
Namespaces all Redis calls.
r = Redis::Namespace.new(:ns, :redis => @r)
r['foo'] = 1000
This will perform the equivalent of:
redis-cli set ns:foo 1000
Useful when you have multiple systems using Redis differently in your app.
$ gem install redis-namespace
$ bundle install
$ rake
Chris Wanstrath :: [email protected] Terence Lee :: [email protected]