Caching nil values with Dalli in Ruby on Rails

2013-07-22

Here’s a monkeypatch for ActiveSupport::Cache::DalliStore to allow caching of nil using the null object pattern:

Tags: Ruby, Ruby on Rails

All content © 2017 Richard Cook. All rights reserved.