module ActiveSupport::Cache::Strategy::LocalCache

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

:nodoc:
def decrement(name, amount = 1, options = nil) # :nodoc:
  return super unless local_cache
  value = bypass_local_cache { super }
  if options
    write_cache_value(name, value, raw: true, **options)
  else
    write_cache_value(name, value, raw: true)
  end
  value
end