arthurnn / memcached

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

Fix Memcached::Rails read to allow nil options to be passed. #128

Closed joe1chen closed 11 years ago

joe1chen commented 11 years ago

The Memcached::Rails read method now allows nil to be passed in without throwing an error. Also, the default options value is now changed to nil instead of {} to match the behavior of ActiveSupport cache's read.