# File lib/active_support/cache/mem_cache_store.rb, line 34 def write(key, value, options = nil) super method = options && options[:unless_exist] ? :add : :set response = @data.send(method, key, value, expires_in(options), raw?(options)) response == Response::STORED rescue MemCache::MemCacheError => e logger.error("MemCacheError (#{e}): #{e.message}") false end