`Memcached::Rails` already does that https://github.com/evan/memcached/blob/master/lib/memcached/rails.rb#L176