method

increment

rails latest stable - Class: ActiveSupport::Cache::Store
increment(name, amount = 1, options = nil)
public

Increments an integer value in the cache.

Options are passed to the underlying cache implementation.

Some implementations may not support this method.