Cache (and optionally memoize) ActiveRecord or DataMapper records in Redis or Memcached