mperham/sidekiq — pull request #566 by brandonhilkert (2012-12-04 20:03:29+00:00)
Title: Add system view

System view showing Redis keys, along with the dump from `Redis.info`

![system](http://f.cl.ly/items/1T2m2G0n3X3N2I1v1x0y/Screen%20Shot%202012-12-04%20at%202.31.24%20PM.png)

It loads fine in the browser, however the related tests like the following:

```Ruby
describe "system view" do
it 'loads successfully' do
get '/system'
assert_equal 200, last_response.status
end
```

throw this error:

```
1) Error:
test_0001_loads successfully(sidekiq web::system view):
NoMethodError: undefined method `to_s' for :Redis::Future
/Users/bhilkert/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb:293:in `rem_namespace'
/Users/bhilkert/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb:262:in `method_missing'
/Users/bhilkert/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb:210:in `keys'
/Users/bhilkert/Dropbox/code/sidekiq/lib/sidekiq/web.rb:225:in `block (3 levels) in '
/Users/bhilkert/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:1973:in `block in pipelined'
/Users/bhilkert/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:36:in `block in synchronize'
```

Any idea what this is about?