Rails' Hidden Gems: ActiveSupport Cache Increment and Decrement
You've probably used Rails.cache
to read, write, and fetch cached data in Rails—but did you know you can also work with counters? In this series, Jonathan Miles introduces us to some of the lesser-known tools hidden in your Rails codebase.