mperham/dalli — Issue #152: Confusing Dalli::RingError when using illegal arguments
Author: remen
Created: 2011-12-14 10:29:05+00:00
State: open

The following code will raise ```Dalli::RingError```, when in fact it is due to the caller sending the value / ttl arguments in the wrong order.

```ruby
require 'dalli'

client = Dalli::Client.new("localhost:11211")
client.set('key', 0, {foo: "bar"})
```