arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 125 forks source link

Fix Memcached::Rails increment and decrement to match ActiveSupport's memcache implementation. #126

Closed joe1chen closed 11 years ago

joe1chen commented 11 years ago

Nil is returned when key is not found or other error is encountered. Otherwise a non-null return value is converted into an integer.