add compatible api for rails 2.3 memcache store