class ActiveSupport::Cache::MemCacheStore

def increment(name, amount = 1, options = nil) # :nodoc:

:nodoc:
to zero.
Calling it on a value not stored with :raw will initialize that value
operator and can only be used on values written with the :raw option.
Increment a cached value. This method uses the memcached incr atomic
def increment(name, amount = 1, options = nil) # :nodoc:
  options = merged_options(options)
  instrument(:increment, name, :amount => amount) do
    @data.incr(escape_key(namespaced_key(name, options)), amount)
  end
rescue Dalli::DalliError => e
  logger.error("DalliError (#{e}): #{e.message}") if logger
  nil
end